Jeremy Soller
cf6a35474e
Add meu item for disabled buttons
2024-09-27 09:14:03 -06:00
Michael Aaron Murphy
701638009d
fix(list_column): set 32px minimum height for each list item
2024-09-23 20:46:55 +02:00
Vukašin Vojinović
9bfb159977
fix(text_input): make icon padding fixed
...
This prevents the icons from becoming too large or too small relative to the input box, that leads to visual issues.
2024-09-23 12:40:22 -04:00
Vukašin Vojinović
0a34660a80
fix: move density to cosmic_theme
2024-09-23 12:40:22 -04:00
Vukašin Vojinović
a415eb60bb
fix: window control button padding
...
Makes the internal padding of window control buttons fixed (can still perfectly fit inside the Compact header bar), since they otherwise become too small when Compact.
2024-09-23 12:40:22 -04:00
Vukašin Vojinović
282700b987
improv: use spacing variables in more places
2024-09-23 12:40:22 -04:00
Vukašin Vojinović
3c88edb217
feat: interface density
2024-09-23 12:40:22 -04:00
Jeremy Soller
10f02d9d6b
Responsive context drawer width
2024-09-23 10:02:34 -06:00
Michael Aaron Murphy
af68a3f660
refactor(settings/section): deprecate view_section for settings::section
2024-09-19 14:43:40 +02:00
Antoine C
c4e8f4d1e6
feat(settings/section): add method to create section with a list column
2024-09-19 14:43:40 +02:00
Vukašin Vojinović
271b71958a
fix(menu): use accent color for checkbox
...
Uses the accent color for the checkmark, to match designs.
2024-09-19 13:09:20 +02:00
Michael Aaron Murphy
f12de010ec
fix!(widget): rename button function to button::custom
2024-09-16 11:36:42 -06:00
Jeremy Soller
f942977703
fix(segmented_button): vertical variant_layout did not include divider height
2024-09-12 12:47:18 -06:00
Jeremy Soller
c497c227ce
fix(segmented_button): use correct divider color when vertical
2024-09-11 14:29:36 -06:00
Jeremy Soller
2faaeddb05
feat(segmented_button): Support adding divider above items in vertical segmented button
2024-09-11 12:51:19 -06:00
Jeremy Soller
05da0a83b2
fix(popover): implement overlay and remove use of refcell
2024-09-10 11:47:48 -06:00
Vukašin Vojinović
1046778d01
improv: spacing/padding fixes
2024-09-04 18:00:16 +02:00
Vukašin Vojinović
71cd25c06d
improv(list_column): match container padding to list spacing
...
This ensures that the vertical space between the top/bottom list items and the edges of the container remains the same as the spacing between items, when the default `list_column` spacing is changed.
2024-09-03 13:34:13 +02:00
Vukašin Vojinović
0a1922d4b3
improv(radio): reduce radio button size
2024-08-30 13:42:24 +02:00
Jeremy Soller
04c05ae6a1
fix(menu): Ignore Key::Character case when matching KeyBind
2024-08-29 10:08:12 -06:00
wiiznokes
66ff28a42a
add reexport in widget module
2024-08-28 23:00:48 +02:00
Ashley Wulber
8ba2185f43
fix: reset text_input focus when clicked outside
2024-08-28 22:50:33 +02:00
Victoria Brekenfeld
60817451bb
widget: Add custom radio widget
2024-08-28 15:40:21 +02:00
Michael Aaron Murphy
a79ac361f1
feat(popover): add on_close message
2024-08-23 22:12:43 +02:00
bbb651 🇮🇱
1162011ff4
improv!(toaster): use stable IDs for toasts
2024-08-22 15:41:43 +02:00
Vukašin Vojinović
4b5111d2c2
fix: nav bar toggle padding
2024-08-17 13:57:51 +02:00
Jason Hansen
84afe7b50a
improv(text_input): Switch icon when toggling visibility of secure input
2024-08-09 20:36:31 +02:00
Vukašin Vojinović
4c04792481
improv(menu): add horizontal padding to menu divider
2024-08-09 20:35:42 +02:00
netengy-dakotaraptor
5de9b21e0b
fix: set window control icons as symbolic for non-linux sytems
2024-08-05 12:17:33 +02:00
Michael Aaron Murphy
756f4b6ba6
fix(text_input): prevent simultaneous input focus
2024-08-03 12:33:24 +02:00
Victoria Brekenfeld
b40839638a
fix: Use globals instead of thread-locals
...
Better support for multi-threaded applications,
especially cosmic-comp rendering in parallel on
multiple threads, each potentially accessing
global configurations such as the active theme,
icon_theme and more...
2024-08-02 20:27:08 +02:00
Michael Aaron Murphy
9e344b15c3
fix: window controls on linux not clickable
2024-07-31 08:06:05 +02:00
wiiznokes
716b3dee56
feat: use cached window control icons on other OSes
2024-07-30 18:29:01 +02:00
Ashley Wulber
22138671b4
fix: keep the cursor at the end if it previously when diffing
2024-07-29 22:53:55 +02:00
Ashley Wulber
a5996b4e90
fix(toast): implement drag_destinations
2024-07-24 05:33:35 +02:00
leb-kuchen
8e67f3ce1c
feat(headerbar): double click to maximize
2024-07-23 11:58:55 +02:00
Michael Aaron Murphy
3d22fb8fe2
improv(toaster): actions accept closures
2024-07-22 17:48:17 +02:00
Michael Aaron Murphy
ece6edac8d
improv(toaster): API consistency improvements
2024-07-22 15:34:26 +02:00
Michael Aaron Murphy
1e5828e01c
improv: get window control icons from icon theme
2024-07-22 07:24:07 +02:00
Michael Aaron Murphy
5474232796
fix: widget unfocus on mouse click
2024-07-22 07:05:47 +02:00
Ashley Wulber
6f2c893cf5
feat: add overlay option to appearance for vertical icon button
2024-07-17 22:31:21 +02:00
Ashley Wulber
47dedfde74
fix: draw color picker handle on top of gradient
2024-07-17 22:26:13 +02:00
Jeremy Soller
a268a98311
fix(toast): match toast to design
2024-07-11 13:36:53 -06:00
Michael Aaron Murphy
76667418d8
fix(widget): toggler settings controls should not flex
2024-07-11 09:49:36 +02:00
Jeremy Soller
c9a2265ab1
Make text wrap configurable
2024-07-09 11:14:49 -06:00
Ashley Wulber
928b714d14
fix: toaster behind feature gate
2024-07-05 21:21:35 +02:00
wiiznokes
4da66f8cc0
fix: change message bound for toaster
2024-07-02 18:43:50 +02:00
wiiznokes
4449b29cc9
feat(widget): add toast widget
2024-07-02 17:55:38 +02:00
Jason Hansen
41d1f4a7cd
feat(segmented_button): add on_middle_press
2024-07-02 02:53:45 +02:00
Jason Hansen
bfbff0773a
fix(button): Closing tab with middle-click
...
Only close on middle button release if the middle button press event was on the same tab.
2024-07-01 21:18:48 +02:00