Commit graph

509 commits

Author SHA1 Message Date
Jeremy Soller
0b284e3e0f Remove unused cctk import from autosize widget 2025-03-20 13:31:10 -07:00
ellieplayswow
551ec29a98 fix(segmented_button): ignore button release / finger lifted events when dragged out of target 2025-03-20 13:31:10 -07:00
Ashley Wulber
c0fd254df1 feat: high contrast theme updates 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
626ee929e4 improv: switch to Open Sans and Noto Sans Mono, with tweaked text styles 2025-03-20 13:31:10 -07:00
Tony4dev
0acb3becf2 feat(segmented_button): add len method 2025-03-20 13:31:10 -07:00
ellieplayswow
8203a11da4 feat(icon): add rotation property 2025-03-20 13:31:10 -07:00
Tony4dev
732e6ec3ff improv(calendar): make visible public 2025-03-20 13:31:10 -07:00
Eduardo Flores
3a9aff13d6 chore(calendar): add derive attributes 2025-03-20 13:31:10 -07:00
Michael Aaron Murphy
a6ffeb2abe fix(text_input): compiler errors after Cow change 2025-03-20 13:31:10 -07:00
Tony4dev
e62e184431 improv!(calendar): do not select date when navigating prev/next months 2025-03-20 13:31:10 -07:00
Soso
4604e57b13 improv(text_input): use Cow<str> for label, helper, and error text 2025-03-20 13:31:10 -07:00
Ian Douglas Scott
2c319554da 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-03-20 13:31:10 -07:00
Adam Cosner
160070c1b5 Added more mouse interaction options 2025-01-11 15:46:05 -08:00
Adam Cosner
d4bce76213 Fixed warnings 2025-01-10 22:50:05 -08:00
Adam Cosner
1e28f39771 Ran cargo fmt 2025-01-10 22:46:20 -08:00
Adam Cosner
ea4e6c6cde Added item contexts and changed the context menu functions to take builder functions 2025-01-10 22:44:42 -08:00
Adam Cosner
0b0e143fe4 Merge branch 'master' of https://github.com/Adam-Cosner/libcosmic 2025-01-10 22:37:40 -08:00
Adam Cosner
9f2e554847
Merge branch 'pop-os:master' into master 2025-01-10 22:36:24 -08:00
Adam Cosner
68fdd8fbe4 Added category context menus 2025-01-06 12:15:44 -08: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
Adam Cosner
4111fcbd05 Added doc inline to widget 2025-01-05 15:56:35 -08:00
Adam Cosner
91c35e88ad Made compact and standard table view into separate widgets 2025-01-04 12:42:34 -08:00
Adam Cosner
2305e25fa8 Use derive_setters for TableView 2025-01-04 12:16:08 -08:00
Adam Cosner
2401c2a4ec Added table function for generic table view creation 2025-01-04 11:57:33 -08:00
Adam Cosner
dd9d1c0c2f Revert "Added custom widget version of table"
This reverts commit 825792e367.
2025-01-02 22:29:00 -08:00
Adam Cosner
825792e367 Added custom widget version of table
Currently does not have mouse interaction, in the demo the normal one is right and custom is left
2025-01-01 18:04:12 -08:00
Adam Cosner
5c96696f9c
Merge branch 'pop-os:master' into master 2025-01-01 16:08:19 -05:00
Jason Hansen
51ede4bce6
fix(segmented_button): close context menu when clicked outside 2025-01-01 00:37:04 +01:00
Adam Cosner
ad4ed38538 Fixed table view issues with selection on compact view and some spacing problems 2024-12-30 14:37:27 -05:00
Adam Cosner
fc531b58c9 Added table view example 2024-12-30 14:17:35 -05:00
Adam Cosner
8132f8f3e8 Compact view implemented 2024-12-29 22:32:11 -05:00
Adam Cosner
8021271524 Merge branch 'master' of https://github.com/Adam-Cosner/libcosmic 2024-12-26 19:23:40 -05:00
Adam Cosner
949a31855d Implemented rudimentary table widget, currently not interactible 2024-12-26 19:16:22 -05: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
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
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ć
8e823f622f fix(header_bar): match spacing to designs 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
Jeremy Soller
0ef3cced6a
fix(text): make title 1 text use light weight 2024-11-22 12:48:06 -07: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
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