Commit graph

944 commits

Author SHA1 Message Date
Ashley Wulber
c3ae2c0017 fix: ambiguous import 2023-09-15 17:21:28 +02:00
Michael Aaron Murphy
023d8ad3a0 fix(app): restore distinction between app theme changes, and system theme changes 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
c2d62bad52 fix(button): icon style variant to inherit colors from container 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
2e11d62de5 feat(widget): custom style variant for button widget 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
68f80daa67 chore(theme): remove unused expander module 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
48fd076cc8 fix(segmented-button): disappearance of icons from bad layout values 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
52bc409a1a chore: re-export theme::style to style 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
9dbc1be269 refactor(widget): improvements to button and icon widgets 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
7f0943924a feat(theme): improvements and refactoring of theme module
fix: theme rebase
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
4c6c678f88 feat(ext): ColorExt trait to add ::blend_alpha method 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
1e3c44865a feat(widget): import more widgets from iced 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
51ac288eed feat(widget): create list-styled containers with list::container() 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
9963629a4f fix(headerbar): window being dragged on click 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
9eb55ce893 feat(widget): add tooltip module 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
87e7567b7b feat(widget): add divider::vertical variants 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
6e1f00295b feat(widget): add divider::horizontal::default() variant 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
4564c36c83 chore(widget): use Row type in settings::item 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
03a5c929fd refactor(widget): create alias for Row type 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
6402bcfe26 chore(widget): use Column type in settings::view_column 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
524f3abb05 refactor(widget): create alias for Column type 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
b5a6f81057 chore(widget): use push_maybe in settings::section 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
3591ff1a99 chore(ext): simplify CollectionWidget impl 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
9552916a59 feat(app): set header title seperately from window title
This change will enable applications to set different titles for each
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
02413e5fa6 chore(app): remove redundant system theme property
The system theme is now set globally, so this is no longer used.
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
16eec65765 feat(app): add set_theme and set_scaling_factor to app::command 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
4e4eeaac12 feat!(widget): rewrite button & icon widget APIs 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
18debe546d chore: no default features 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
796fe3c1a9 chore: add Apply to prelude 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
5904d2c0f0 chore(icon_theme): store default theme as Cow<str> 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
2ab760e66d chore: add prelude module 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
28c9b001e4 feat(ext): add CollectionWidget extension trait 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
26777464c5 feat(widget): add functions for columns and rows 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
e9035a9582 chore(widget): add more iced widget re-exports 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
6383ecc0cb chore(widget): text_input does not need to be wayland-only 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
c45556d8e3 feat(widget): add typography functions to text module 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
57c2ea7b62 feat(font): add FONT_MONO_REGULAR from Fira Mono 2023-09-14 01:38:56 +02:00
Ashley Wulber
4903d7792e refactor: default the icon theme to Cosmic 2023-08-29 15:26:58 -04:00
Ashley Wulber
984d545546 fix: remove conflicting iced text_input from reexports 2023-08-29 14:59:37 -04:00
Ashley Wulber
6a07e341ca chore: custom text input style 2023-08-29 14:02:56 -04:00
Michael Aaron Murphy
2e3d9af720 chore(widget): re-export missing iced widgets 2023-08-28 18:11:19 +02:00
Michael Aaron Murphy
caf07e8288 chore: re-export iced::Command 2023-08-28 18:11:19 +02:00
Michael Aaron Murphy
069163264f chore(command): future does not need to restrict the message type 2023-08-28 18:11:19 +02:00
Michael Aaron Murphy
6927220325 fix(app): draggable windows on X11 systems using winit 2023-08-28 18:11:19 +02:00
Ashley Wulber
6457481ae5 fix: text input layout & cargo fmt 2023-08-24 15:44:29 -04:00
Ashley Wulber
d35dfad486 fix: search input border style 2023-08-24 10:39:43 -04:00
Ashley Wulber
55416c8b9d feat: allow creating apps with no main window on wayland 2023-08-23 15:15:50 -04:00
Ashley Wulber
db8e791b87
Text input (#143)
* update: iced 0.10.0

* wip: text input

* wip: text inputs with icons and buttons

* wip: improve text input

* refactor: text input styling

* chore: add scale factor

* chore(text_input): add winit example and do some cleanup
2023-08-23 10:59:26 -04:00
Ian Douglas Scott
fcdefcd8fb
fix(app): set size_limits to None for autosize
With the default size limit, autosize applets don't work as expected.
Setting this to `None` seems to work fairly well, though maybe we'll
need to tune some of these settings more later.
2023-08-23 00:20:45 +02:00
Eduardo Flores
78c1facd5b
chore: allow &str as input for the icon theme 2023-08-21 22:09:36 +02:00
Ashley Wulber
69da283aeb update iced 2023-08-21 15:47:01 -04:00