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

Vlad Stelmahovsky vladstelmahovsky at gmail.com
Tue Dec 18 18:08:09 CET 2018


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:
>
> importQtQuick2.12
> importQtQuick.Controls2.4
> importQtQuick.Window2.12
> Window{
> visible:true
>      title:qsTr("HelloWorld")
> TextField{
> anchors.fill:parent
> }
> }
> with this result:
> 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 list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20181218/dfe6aca8/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/dfe6aca8/attachment.png>


More information about the Development mailing list