Michael Mc Donnell
79b9043a9e
Add more examples to CI
...
Some of the examples had not been added to the CI. This means that they
can break silently if the API changes. This change makes it more obvious
if they are broken.
I've left out the multi-window example since that was broken recently.
2024-09-20 13:12:14 -10: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
Ashley Wulber
57256e53e5
fix(process): wait on child to prevent zombie
2024-08-22 16:41:14 +02:00
bbb651 🇮🇱
1162011ff4
improv!(toaster): use stable IDs for toasts
2024-08-22 15:41:43 +02:00
Jeremy Soller
ba7001ee59
Update iced
2024-08-19 13:14:47 -06:00
Vukašin Vojinović
4b5111d2c2
fix: nav bar toggle padding
2024-08-17 13:57:51 +02:00
Victoria Brekenfeld
c9f8f48537
Revert "fix: new matching algorithm for desktop entries"
...
This reverts commit 9519b86ec9 .
2024-08-13 09:12:50 -06: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
Ashley Wulber
4dd0f72f15
chore: update iced
2024-08-05 14:55:43 -04:00
Peter Krull
4c5ae65eb2
improv(toggle): Make handle and border radius concentric
2024-08-05 12:22:51 +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
1ad6877cb1
chore: Update MSRV
2024-08-02 20:36:15 +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
Ashley Wulber
f655710d55
fix(iced): lock surface scaling
2024-08-02 15:54:23 +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
Michael Aaron Murphy
2170a65c89
chore(readme): add cosmic-app-template
2024-07-29 13:24:33 +02:00
Ian Douglas Scott
4f77edd249
ci: Add smol/tokio features when testing desktop feature
2024-07-26 12:01:40 -07:00
Ian Douglas Scott
732c7aef5c
Add smol implementation for spawn
...
Although this is used in apps that use `tokio`, if we're going to
support `smol`, this seems suboptimal to require.
This assumes the function will be called by a tokio executor if the
`tokio` feature is used. Otherwise it can be spawned from any executor.
That should be consistent with everything else.
This fails to compile without either the `tokio` or `smol` feature. This
seems reasonable, since `zbus` also fails to compile in that case.
2024-07-26 12:01:40 -07:00
Ian Douglas Scott
8c00bf3d8b
Update ashpd and fraction
2024-07-26 12:01:40 -07:00
Ian Douglas Scott
82fb781746
Use tokio to asynchronously read from pipe
...
Avoids either `spawn_blocking`, or potentially blocking call in an async
function (though it shouldn't block for long).
2024-07-26 12:01:40 -07:00