[Development] qml TextField in material design has too short bottom line

Tomas Konir tomas.konir at gmail.com
Tue Dec 18 21:29:59 CET 2018


Hi,

Thank you for reply. I uploaded image here: https://ibb.co/T8ZSPV6
I found, that workaround is to set: background.width: width

Tom


Ășt 18. 12. 2018 v 18:29 odesĂ­latel Vlad Stelmahovsky <
vladstelmahovsky at gmail.com> napsal:

> I can confirm the issue
>
> partial workaround is to assign width to undefined
>
> br,
>
> Vlad
> On 12/18/18 3:02 PM, Tomas Konir wrote:
>
> Hi,
>
> I'm using this qml code:
>
> import QtQuick 2.12
>
> import QtQuick.Controls 2.4
>
> import QtQuick.Window 2.12
>
> Window {
>
>     visible: true
>
>     title: qsTr("Hello World")
>
>     TextField {
>
>         anchors.fill: parent
>
>     }
>
> }
>
> with this result:
>
> [image: textfield.png]
> You can see too short line below text (should be from start to end of window).
> Am i doing something wrong or this is expected behavior or a bug ?
> (Qt 5.12.0)
> Regards
> Tom
>
>
> --
> Tomas Konir
> Czech Republic
>
>
> _______________________________________________
> Development mailing listDevelopment at qt-project.orghttps://lists.qt-project.org/listinfo/development
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development
>


-- 
Tomas Konir
Czech Republic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20181218/d1a759af/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: textfield.png
Type: image/png
Size: 10859 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20181218/d1a759af/attachment.png>


More information about the Development mailing list