Commit graph

747 commits

Author SHA1 Message Date
ellieplayswow
900fc34444
feat(icon): add rotation property 2025-01-20 11:08:36 +01:00
Tony4dev
def11c6c96
improv(calendar): make visible public 2025-01-19 15:37:07 +01:00
Eduardo Flores
00a4042c40
chore(calendar): add derive attributes 2025-01-19 12:58:57 +01:00
Michael Aaron Murphy
1914006cdd
fix(text_input): compiler errors after Cow change 2025-01-16 06:38:08 +01:00
Tony4dev
8211fb68bd
improv!(calendar): do not select date when navigating prev/next months 2025-01-16 06:30:21 +01:00
Soso
90c5c84cce
improv(text_input): use Cow<str> for label, helper, and error text 2025-01-16 06:29:03 +01:00
Dryadxon
bd8347f7fc fix: impl combo_box::Catalog 2025-01-13 15:45:27 -07:00
Ian Douglas Scott
af9e353f50 dnd_source: Add suppport for surface offset
The `drag_icon` callback is passed the offset of the cursor within the
widget at the start of the drag, and can return an offset the drag
surface should be placed relative to the cursor.
2025-01-13 10:44:33 -07:00
Jason Rodney Hansen
aaa2ba3ad4 Fix entering text with compose key
Previously entering text in text inputs with the compose key would insert one
or more NUL bytes before the inserted character.
2025-01-05 17:51:44 -07:00
Michael Aaron Murphy
e162c59160
perf: reduce memory usage by dropping ustr dependency
The string cache used by ustr pre-allocates 12 MB, even if we're
only using it for a few font family names. We can therefore
manage our own set of leaked strings to reduce memory usage by 12 MB.
2025-01-03 21:58:04 +01:00
Michael Aaron Murphy
fdefc5860b
perf: avoid duplicate Ustr for default font names 2025-01-03 01:18:47 +01:00
Jason Hansen
51ede4bce6
fix(segmented_button): close context menu when clicked outside 2025-01-01 00:37:04 +01:00
Eduardo Flores
b2ce4ccea2 fix: add cfg for unix only packages 2024-12-26 15:31:54 +01:00
Vukašin Vojinović
58fc034459 fix(dropdown): styling 2024-12-25 04:42:24 +01:00
Vukašin Vojinović
2d06ec4226 fix(style): use radius_s for nav bar toggle 2024-12-25 04:42:24 +01:00
Ian Douglas Scott
75a11b3c84 Don't require 'static child in dnd_destination_for_data
Matches `dnd_destination`.
2024-12-20 08:30:18 -07:00
Michael Aaron Murphy
5422ab3130
feat(list_column): configurable list item and divider padding 2024-12-10 16:35:57 +01:00
Michael Aaron Murphy
a02fa21d36
feat(button): add ListItem style 2024-12-10 16:35:24 +01:00
Ashley Wulber
ff0ba4860c fix: autosize layout limits 2024-12-03 16:59:04 -05:00
Tony4dev
d536341234
fix(segmented_button): model index out of bounds when setting position 2024-12-03 05:14:33 +01:00
wiiznokes
b80d90e5ce
fix: compile for markdown feature 2024-12-03 05:13:54 +01:00
Ashley Wulber
931165050d
chore: update iced 2024-12-03 05:13:27 +01:00
Vukašin Vojinović
de0c1921f7 fix(list_column): match padding/spacing to designs 2024-12-02 17:43:19 +01:00
Vukašin Vojinović
a6c08d68f9 fix(toggler): remove extra padding 2024-12-02 17:43:19 +01:00
Vukašin Vojinović
a6db807c1b fix 2024-11-26 15:24:25 -05:00
Vukašin Vojinović
8e823f622f fix(header_bar): match spacing to designs 2024-11-26 16:29:53 +01:00
Vukašin Vojinović
af7157b45a improv: window border corner appearance 2024-11-26 16:29:53 +01:00
Ashley Wulber
a9c7c3cdbf
fix(iced): a11y tree focus 2024-11-25 06:52:32 +01:00
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
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
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
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