Jeremy Soller
c6589e0165
Update iced
2024-10-10 10:31:18 -06:00
Vukašin Vojinović
8b37f658e2
fix(small_widget_divider): fix alpha value
...
This makes this color match the designs, and thus fixes the divider color in the horizontal `segmented_button`.
2024-10-08 17:09:26 -04:00
Ashley Wulber
5306649be1
feat: add Hide variant to mouse Interaction
2024-10-07 12:07:55 -06:00
Jeremy Soller
93578816f9
fix(popover): clamp y position when on bottom
2024-10-07 10:32:33 -06:00
Michael Aaron Murphy
173a9557c2
fix(app): preload embedded Fira fonts
2024-10-05 01:47:37 +02:00
Michael Aaron Murphy
73f0596650
perf(dropdown): significantly faster dropdown diffs
2024-10-05 01:47:37 +02:00
Michael Aaron Murphy
9e064e7fa0
feat: configurable fonts
2024-10-05 01:47:37 +02:00
Vukašin Vojinović
e645dee2f0
fix(header_bar): increase compact height
...
Increases Compact header height to 40 (from 36), to better accommodate larger widgets (e.g. the search bar). This makes it distinct from the SSD header, which is now addressed by the `_` match case.
Also makes the horizontal header padding fixed at 8, so that the app window padding can also be 8.
2024-10-03 15:39:00 +02:00
Jeremy Soller
228eb4d70d
Only override icon button colors when it is disabled
2024-09-27 10:08:27 -06:00
Jeremy Soller
973018fdb7
Fix style of menu folders
2024-09-27 09:34:37 -06:00
Jeremy Soller
cf6a35474e
Add meu item for disabled buttons
2024-09-27 09:14:03 -06:00
Jeremy Soller
2006ebe447
Fix disabled icon button and menu item styles, fixes #621
2024-09-27 09:13:38 -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ć
69e6fb63fb
fix: use spacing values from design system
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
Jeremy Soller
7d7c6fa71a
Fix context drawer when it is an overlay
2024-09-21 07:47:37 -06:00
Jeremy Soller
ddb678ca69
Fix spacing issue introduced in #614
2024-09-20 11:38:28 -06:00
Jeremy Soller
e56a94b783
feat(app): allow context drawer to be laid out next to content
2024-09-20 11:31:29 -06:00
Victoria Brekenfeld
a962865230
chore: update iced
2024-09-19 13:54:40 -04: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
Michael Mc Donnell
9a57e36d1c
chore: document examples
2024-09-19 13:11:24 +02:00
Michael Mc Donnell
342ef6f1fa
fix(examples): fix image-button example
2024-09-19 13:10:49 +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
Michael Mc Donnell
914d989049
chore: remove deprecated design-demo example
2024-09-13 01:07:34 +02: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
Jeremy Soller
b66f8986d1
Adapt to new cosmic-text, fixes #596 and #600
2024-09-06 07:21:24 -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
Konstantinos Lampropoulos
b2ecb41098
chore: fix examples and add them to GitHub CI
2024-09-03 13:33:26 +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
wiiznokes
fe63f6f3cd
feat: add qr_code feature
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
Jeremy Soller
fdc04ddf12
fix(redox): use lazy_cell feature on redox
2024-08-26 13:22:04 -06:00
Jeremy Soller
00f0699042
feat(app): add show_close for toggling close button in header bar
2024-08-26 18:16:18 +02:00
Titouan Real
23bb4a122f
chore(example): Support special filenames in open-dialog example
2024-08-26 04:15:06 +02:00
Piotr
b15ae66ac8
fix: dont omit default preference for light theme
2024-08-26 04:14:35 +02:00
Michael Aaron Murphy
a79ac361f1
feat(popover): add on_close message
2024-08-23 22:12:43 +02:00