Christian Hergert
|
cd45e6edee
|
dropdown: add GtkDropDown:show-arrow property
This allows hiding the arrow on the dropdown which cannot otherwise be
controlled via CSS.
|
2021-10-06 09:55:40 -07:00 |
|
Matthias Clasen
|
160aeb4879
|
Simplify our ui files
Run gtk4-builder-tool simplify over our ui files,
we simplify some more things now.
|
2021-09-29 10:58:23 -04:00 |
|
nana-4
|
538cf9e294
|
dropdown: Improve search bar styling
As per the mockup. See:
https://gitlab.gnome.org/Teams/Design/os-mockups/-/blob/master/dropdown-lists/dropdown-lists.png
|
2020-12-14 05:08:59 +09:00 |
|
Matthias Clasen
|
3a119a3d3a
|
dropdown: Make search entry shrink
We don't want the popup to be wider than the button
if we can help it. The search entry does not need
to be very wide.
|
2020-10-27 15:35:34 -04:00 |
|
Matthias Clasen
|
cf2d6f6ec5
|
dropdown: Style fixups
Make the dropdown popover have a .menu style class,
and add padding to the rows in the popover. Also,
make the popover left-aligned with the button.
|
2020-06-15 10:25:31 -04:00 |
|
Matthias Clasen
|
933e373b07
|
dropdown: Make the stack nonhomogeneous
Without this, the (None) in the empty page forces
the button to have a large minimum width, even when
we don't put a widget in it.
|
2020-06-12 08:49:01 -04:00 |
|
Matthias Clasen
|
985b5a052e
|
dropdown: Connect a forgotten signal handler
The code was exporting a search_stop function, but
the ui file didn't connect it to the ::stop-search
signal. Fix that.
|
2020-06-05 14:34:38 -04:00 |
|
Matthias Clasen
|
371dab51bb
|
Add GtkDropDown
This is a simple drop down control using list models.
|
2020-05-30 19:31:38 -04:00 |
|