Commit graph

1325 commits

Author SHA1 Message Date
Michael Aaron Murphy
9a8a56952d
feat(dropdown): optional icons for dropdowns 2024-11-25 06:51:16 +01:00
Michael Aaron Murphy
52ab37c1eb
feat(icon): add draw method for renderer 2024-11-25 06:50:59 +01:00
Michael Aaron Murphy
637d932669
fix: revert change of cosmic::Task to cosmic::app::Task
This change caused all uses of `cosmic::Task` to be coerced into a
message type specific to `cosmic::app`. Thus, users were forced to
create messages that are wrapped in `cosmic::app::Message` enums.
2024-11-25 06:47:06 +01:00
Jeremy Soller
0ef3cced6a
fix(text): make title 1 text use light weight 2024-11-22 12:48:06 -07:00
Adam Cosner
2ca8961b9f Made app::Task a winit-only feature
Not exactly sure why, but the wayland feature disables cosmic::app so this is required
2024-11-21 10:45:21 -05:00
Adam Cosner
a64529af17 Changed cosmic::command module to cosmic::task and changed cosmic::Task to reexport cosmic::app::Task instead of iced::Task 2024-11-21 10:45:21 -05:00
Adam Cosner
525a14cfb1 Fixed issue #700 where not using multi-window caused the main window to not be able to be interacted with 2024-11-19 23:49:47 -05:00
Bryan Hyland
b14fde9033 feat!(spin_button): refactor and support vertical widget variant 2024-11-20 05:03:29 +01:00
Ashley Wulber
bc89a8aede fix: don't apply drawer position as overlay translation 2024-11-20 05:02:59 +01:00
wiiznokes
d79faab789
fix(widget): impl Catalog for qr_code 2024-11-19 20:03:31 +01:00
Ashley Wulber
a58c73334e
fix(iced): autosize fixes 2024-11-19 20:02:25 +01:00
Vukašin Vojinović
2b7d171fed update iced 2024-11-18 19:59:59 -05:00
Vukašin Vojinović
dd79e900da fix(footer): corner radius 2024-11-18 19:59:59 -05:00
Eduardo Flores
62b0c8a401 fix: icon spacing and size 2024-11-18 08:39:37 -05:00
Eduardo Flores
f3d9e4c0d3 fix: examples 2024-11-18 08:39:37 -05:00
Eduardo Flores
e7b9c6493a improv: icon support for menus 2024-11-18 08:39:37 -05:00
wiiznokes
a355a049d9
feat!(app): ContextDrawer return type for context_drawer method 2024-11-16 03:38:29 +01:00
Ashley Wulber
aaadf7199e refactor: add is_daemon setting
The app can request to be treated by iced as a daemon so it can perform cleanup when its main window is closed.
2024-11-14 11:01:54 -05:00
Ashley Wulber
e3fabf7d12
fix: revert change for overlay layout 2024-11-13 16:55:30 +01:00
Ashley Wulber
4a97030f52
fix(iced): a11y_nodes fix 2024-11-12 20:56:59 +01:00
Ashley Wulber
2ecef3c7b2 feat: better a11y support 2024-11-11 15:02:04 -07:00
Jeremy Soller
be4c0a0848 Move about widget to new about feature 2024-11-11 11:17:02 -07:00
Michael Aaron Murphy
01bd999d28 fix(list_column): broken sliders and flex row in cosmic-settings 2024-11-11 10:56:23 -05:00
Vukašin Vojinović
3dcc47d6a7 improv(context_drawer): add optional header and footer element 2024-11-10 19:58:42 +01:00
Vukašin Vojinović
2909d37b58 fix(context_drawer): remove content padding
This is so that the scrollbar can be at the edge of the context drawer.
Apps will need to specify this padding for everything that goes below the header (if using a scrollable, it should be applied before the scrollable).
2024-11-10 15:49:25 +01:00
Vukašin Vojinović
c310f4ca24 feat(context_drawer): add actions to header 2024-11-10 15:49:25 +01:00
Eduardo Flores
d8357d0ea3
refactor: about page as a widget 2024-11-10 02:42:16 +01:00
Eduardo Flores
6f53b68be5 fix: add scrollable to about view 2024-11-09 14:48:47 +01:00
Michael Aaron Murphy
8c69491f2a fix(context_drawer): remove scrollable 2024-11-09 03:38:03 +01:00
wiiznokes
5fdc2df9cd feat: optional title on dialog 2024-11-08 16:00:40 +01:00
Vukašin Vojinović
707f2115eb fix(context_drawer): center header elements 2024-11-08 15:59:33 +01:00
Ashley Wulber
2704a77aa3 update iced 2024-11-07 17:16:03 -07:00
wiiznokes
568ff097d6 feat: export markdown iced feature 2024-11-07 01:22:32 +01:00
Vukašin Vojinović
3c5a2d9340 fix(app): conditionally set context drawer padding
This fixes the cosmic-term terminal_box becoming cropped when opening a context drawer.
2024-11-06 18:24:50 +01:00
Eduardo Flores
6dfd9d7dd5 fix: right padding for nav bar 2024-11-06 17:39:11 +01:00
Eduardo Flores
8d4afb90da
feat(app): add context view method for creating About views 2024-11-06 03:36:33 +01:00
Vukašin Vojinović
a4c1909fc2 fix(content_col): remove spacing
Removes spacing between the footer and content, until the `resize_border` is moved.
2024-11-06 02:48:23 +01:00
Vukašin Vojinović
9825e730bc update iced 2024-11-05 15:36:02 -07:00
Vukašin Vojinović
2ce3e95cf6 fix(app): border radius
Increases the border radius by 1.0 to prevent some corner artifacts.
2024-11-05 15:36:02 -07:00
Ashley Wulber
bd28ae6581 fix: update iced
should improve iced diffing and avoid bad interactions with custom id elements having more than 1 child element
2024-11-05 09:24:06 -07:00
Vukašin Vojinović
d34fd5dc2b fix: apply content padding only when content_container is true 2024-11-05 09:18:45 -07:00
Vukašin Vojinović
127ce17b85 improv: add window border 2024-11-05 10:02:19 +01:00
Ashley Wulber
36b3cfa13a fix: color picker 2024-11-01 22:39:52 -04:00
wiiznokes
0dfaa4d158 Update section.rs 2024-11-01 13:47:27 -04:00
Eduardo Flores
4b562867ec chore: update iced 2024-10-30 13:24:51 -04:00
Ashley Wulber
842cd2ec94
fix: specify width and height when importing raster images 2024-10-30 11:00:30 +01:00
Ashley Wulber
d84447aaad fix: apply App::Executor to multi-window instance 2024-10-29 13:32:08 -06:00
Ashley Wulber
fde0516484 chore: update iced 2024-10-23 21:52:35 -06:00
Ashley Wulber
3414f62367 refactor: allow a11y to be disabled with applet feature 2024-10-23 21:52:35 -06:00
Ashley Wulber
d1aabecc16 fix: card button can't be transparent when disabled 2024-10-23 21:52:35 -06:00