Make sure they all have the minimum height based on what is currently
the hardcoded value of the button.
Also inlclude the border top and bottom padding in the layout in case the
font is really big
The Tab currently doesn't do anything with the focus, but this
serves as a workaround for #798 so that inner widget of a tab can't
keep the focus when they are hidden
cc #798
This change the current item, but doesn't scroll the view yet to
make sure it is visible. We are missing the ability to know the
position of the visible item to be able to do that
The Flickable should already have sane default
But we need to make sure that the default binding don't override bindings
set with aliases. So we must use BindingsMap::set_binding_if_not_set which
sets the priority properly
Closes#581
We apply a default window background from the palette to all `Window`
elements, and likewise we need to apply the default text color to Text
elements to ensure a readable contrast.
This also fixes the default text color when using Qt/native style in
dark mode on macOS.
Highlight (and select) items when hovering into the background, not just over the text.
This is done by making sure the touch area covers the entire item. The same change
is applied to the ugly style, which however isn't directly affected as it has not padding.
Add the font-size property also to the SpinBox in the fluent style, as the old printer demo expects the style to provide it.
Another way would be to run the test with the ugly style, but
that's just hiding the fact that there's an API difference.