Commit graph

638 commits

Author SHA1 Message Date
Michael Aaron Murphy
f43d5ff9bf
fix(segmented-button): disappearance of icons from bad layout values 2023-09-13 17:27:36 +02:00
Michael Aaron Murphy
79113a4615
chore(examples): cosmic-time update 2023-09-13 17:27:36 +02:00
Michael Aaron Murphy
9fa39b1f35
chore(readme): instructions for running examples 2023-09-13 17:27:36 +02:00
Michael Aaron Murphy
05c424322e
chore: re-export theme::style to style 2023-09-13 17:27:36 +02:00
Michael Aaron Murphy
e3847cdd0a
feat(design-demo): debian packaging 2023-09-13 17:27:36 +02:00
Michael Aaron Murphy
e94663441b
feat(examples): improve design demo and merge cosmic-sctk example 2023-09-13 17:27:36 +02:00
Michael Aaron Murphy
0252b88bf8
chore(examples): icon API update 2023-09-13 17:27:36 +02:00
Michael Aaron Murphy
b5f3d961da
refactor(widget): improvements to button and icon widgets 2023-09-13 17:27:36 +02:00
Michael Aaron Murphy
7f7f3cc115
feat(theme): improvements and refactoring of theme module
fix: theme rebase
2023-09-13 17:27:34 +02:00
Michael Aaron Murphy
b1074437ae
feat(ext): ColorExt trait to add ::blend_alpha method 2023-09-13 16:18:17 +02:00
Michael Aaron Murphy
0d48d7ce00
chore(cosmic-theme): adjustments for button theming 2023-09-13 15:58:08 +02:00
Michael Aaron Murphy
ce202a72b7
feat(widget): import more widgets from iced 2023-09-13 15:58:08 +02:00
Michael Aaron Murphy
05f4033746
feat(widget): create list-styled containers with list::container() 2023-09-13 15:58:08 +02:00
Michael Aaron Murphy
4310b854d0
fix(headerbar): window being dragged on click 2023-09-13 15:58:04 +02:00
Michael Aaron Murphy
1ed55ad8e3
feat(widget): add tooltip module 2023-09-13 15:58:04 +02:00
Michael Aaron Murphy
4110952b42
feat(widget): add divider::vertical variants 2023-09-13 15:58:04 +02:00
Michael Aaron Murphy
5c195ee160
feat(widget): add divider::horizontal::default() variant 2023-09-13 15:58:04 +02:00
Michael Aaron Murphy
bf8d0e0555
chore(widget): use Row type in settings::item 2023-09-13 15:58:04 +02:00
Michael Aaron Murphy
9d612bf6a8
refactor(widget): create alias for Row type 2023-09-13 15:58:04 +02:00
Michael Aaron Murphy
d1aa2fa4f6
chore(widget): use Column type in settings::view_column 2023-09-13 15:58:04 +02:00
Michael Aaron Murphy
6182e4bed3
refactor(widget): create alias for Column type 2023-09-13 15:58:04 +02:00
Michael Aaron Murphy
f13b6436d9
chore(widget): use push_maybe in settings::section 2023-09-13 15:58:04 +02:00
Michael Aaron Murphy
1c6075bf8e
chore(ext): simplify CollectionWidget impl 2023-09-13 15:58:04 +02:00
Michael Aaron Murphy
6ddca930e4
feat(app): set header title seperately from window title
This change will enable applications to set different titles for each
2023-09-13 15:58:04 +02:00
Michael Aaron Murphy
18ce368ab9
chore(app): remove redundant system theme property
The system theme is now set globally, so this is no longer used.
2023-09-13 15:58:03 +02:00
Michael Aaron Murphy
2305f2b8bb
feat(app): add set_theme and set_scaling_factor to app::command 2023-09-13 15:58:03 +02:00
Michael Aaron Murphy
466f80addc
feat!(widget): rewrite button & icon widget APIs 2023-09-01 10:54:22 +02:00
Michael Aaron Murphy
4eeee83cca
chore: no default features 2023-09-01 10:54:22 +02:00
Michael Aaron Murphy
e32eceef4b
chore: add Apply to prelude 2023-09-01 10:54:22 +02:00
Michael Aaron Murphy
1f95ef9ed9
feat(examples): add design demo 2023-09-01 10:54:22 +02:00
Michael Aaron Murphy
fe4fcf2386
chore(icon_theme): store default theme as Cow<str> 2023-09-01 10:54:22 +02:00
Michael Aaron Murphy
f6475cfe9c
chore: add prelude module 2023-09-01 10:54:22 +02:00
Michael Aaron Murphy
1a97dbf2ff
feat(ext): add CollectionWidget extension trait 2023-09-01 10:54:22 +02:00
Michael Aaron Murphy
cd630e527a
feat(widget): add functions for columns and rows 2023-09-01 10:54:21 +02:00
Michael Aaron Murphy
7813d73f10
chore(widget): add more iced widget re-exports 2023-09-01 10:52:04 +02:00
Michael Aaron Murphy
a8910fb5e7
chore(widget): text_input does not need to be wayland-only 2023-09-01 10:52:01 +02:00
Michael Aaron Murphy
725a6f5e29 feat(widget): add typography functions to text module 2023-09-01 07:33:48 +02:00
Michael Aaron Murphy
134c11888d
feat(font): add FONT_MONO_REGULAR from Fira Mono 2023-09-01 07:16:13 +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