filcuc/nimqml

Something wrong with textfield's width

R3D9477 opened this issue · 3 comments

Hi. I tried to make a simple form with in QtCreator:
screenshot at 2018-03-04 19-11-36
compiled application:
screenshot at 2018-03-04 19-12-02
screenshot at 2018-03-04 19-12-16

main.qml.zip

I tried the example here and i see the correct width.
Maybe the wrong width is due to the usage of a different style or dpi scaling?

that said i think that this is unrelated to nimqml or dotherside.
Another thing that comes to my mind could be the usage of different QtQuick.Controls 2 style

@filcuc yes, I have a lot of warnings:

...
...
...
 Theme parsing error: gtk-widgets-assets.css:123:41: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(main:26191): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:127:34: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.

(main:26191): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:128:34: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.

(main:26191): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:132:34: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.

(main:26191): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:132:46: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(main:26191): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:133:34: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.

(main:26191): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:133:46: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(main:26191): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:137:34: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.

(main:26191): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:138:34: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.

(main:26191): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:157:40: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(main:26191): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets.css:158:41: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(main:26191): Gtk-WARNING **: Theme parsing error: gnome-applications.css:110:47: The :prelight pseudo-class is deprecated. Use :hover instead.

(main:26191): Gtk-WARNING **: Theme parsing error: cinnamon-applications.css:12:30: The style property GtkWidget:focus-padding is deprecated and shouldn't be used anymore. It will be removed in a future version

(main:26191): Gtk-WARNING **: Theme parsing error: cinnamon-applications.css:17:15: The 'icon-shadow' property has been renamed to '-gtk-icon-shadow'

(main:26191): Gtk-WARNING **: Theme parsing error: cinnamon-applications.css:24:15: The 'icon-shadow' property has been renamed to '-gtk-icon-shadow'

(main:26191): Gtk-WARNING **: Theme parsing error: lightdm-unity-greeter.css:45:30: The :focused pseudo-class is deprecated. Use :focus instead.

(main:26191): Gtk-WARNING **: Theme parsing error: lightdm-unity-greeter.css:50:23: The :focused pseudo-class is deprecated. Use :focus instead.

(main:26191): Gtk-WARNING **: Theme parsing error: lightdm-unity-greeter.css:76:29: The :focused pseudo-class is deprecated. Use :focus instead.

(main:26191): Gtk-WARNING **: Theme parsing error: lightdm-unity-greeter.css:81:22: The :focused pseudo-class is deprecated. Use :focus instead.
QApplication: invalid style override passed, ignoring it.

so, I close this issue