Commit graph

7 commits

Author SHA1 Message Date
Olivier Goffart
1e9e252400 Fluent style: uniformize the height of widgets
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
2022-01-20 10:41:14 +01:00
Tobias Hunger
bfca0e3573 Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
Olivier Goffart
19ce555d36 Don't hardcode ScrollArea's viewport size
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
2021-10-15 15:43:44 +02:00
Olivier Goffart
2716e4b4dd TouchArea: add the pointer-event callback
... instead of `pressed-changed`

This allows to see what mouse button was pressed.

Closes #535
2021-10-04 14:39:49 +02:00
Olivier Goffart
28fd5a3fc1 Fluent style: The Slider and ScrollBar now updates as the mouse moves
Fixes #494
2021-10-01 14:53:25 +02:00
Olivier Goffart
671df0f24f New widget: StandardButton 2021-09-29 16:25:44 +02:00
Olivier Goffart
cbf22d494e TextEdit 2021-09-06 21:52:12 +02:00