Commit graph

217 commits

Author SHA1 Message Date
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
Ashley Wulber
4d63d06a7e fix: make buttons text buttons again 2023-08-18 16:47:10 -04:00
Ashley Wulber
be49bb2a25 refactor: switch applet back to secondary button 2023-08-18 16:47:10 -04:00
Ian Douglas Scott
9f36d33e34 Fix compilation errors with applet feature 2023-08-18 16:47:10 -04:00
Ashley Wulber
c1495d07e5 cleanup (applet): settings already has the system theme by default 2023-08-18 16:47:10 -04:00
Ashley Wulber
c474b3e955 wip: add applet module 2023-08-18 16:47:10 -04:00
Michael Aaron Murphy
a8ce524baa refactor: combine open and save dialogs 2023-08-16 16:59:15 +02:00
Michael Aaron Murphy
1705b6fe27 feat(dialog): XDG portal integrations for open and save dialogs 2023-08-16 16:59:15 +02:00
Michael Aaron Murphy
a5d3814fff fix(widget/header_bar): add padding between end elements and window controls 2023-08-16 16:59:15 +02:00
Michael Aaron Murphy
e3f3dc2e82 fix(widget/button: padding causing misaligned text in button 2023-08-16 16:59:15 +02:00
Michael Aaron Murphy
a387adcb1b chore: improve documentation 2023-08-16 16:59:15 +02:00
Michael Aaron Murphy
0c57ec7446 chore: remove unused module 2023-08-16 16:59:15 +02:00
Ashley Wulber
20a5227eca refactor: add button components to theme because they have different overlays than others when they are hovered or pressed 2023-08-14 12:31:16 -04:00
Ashley Wulber
1c5a233a98 chore: update toggler colors 2023-08-14 12:31:16 -04:00
Ashley Wulber
ff83f893ef refactor: updates for buttons and checkboxes 2023-08-14 12:31:16 -04:00
Ashley Wulber
f8c25096fd refactor: update existing buttons 2023-08-14 12:31:16 -04:00
Ashley Wulber
6c57e04e36 refactor: introduce thread local THEME variable and distinguish between custom and system theme settings 2023-08-14 12:31:16 -04:00
Ashley Wulber
a618c1b94a wip: calculate theme using new method 2023-08-14 12:31:16 -04:00
Ian Douglas Scott
54d47a1b38
app/settings: Don't use strip_option (#137)
Since these don't default to `None`, and the fields aren't public, using
`strip_option` makes it impossible to change them to `None`.
2023-08-03 13:12:32 -07:00
Michael Murphy
a223b60a0c
feat!: implement Application API 2023-08-02 11:54:07 +02:00
Ashley Wulber
ab88a5b59f feat: animated image widget 2023-07-26 18:11:19 -04:00
Ian Douglas Scott
da9b6345d8 Add 'disabled' style for text-input, instead of panicking with todo! 2023-07-26 07:49:28 -06:00
Ashley Wulber
f17d52f37f card widget 2023-07-20 11:11:50 -04:00
Ashley Wulber
598bfaa611 feat: icon default fallbacks 2023-07-07 16:58:21 -04:00
Michael Aaron Murphy
b0db23a169 perf(flexrow): provide reusable vec for storing elements 2023-06-26 17:00:50 +02:00
Michael Aaron Murphy
e3f30a1b5c feat(widget): add FlexRow widget 2023-06-24 12:30:52 +02:00
Ashley Wulber
850968715c udpate iced to use latest rebase 2023-06-15 20:38:16 +02:00
Ashley Wulber
a8a2e4ad26 feat: theme helper methods 2023-06-12 12:16:31 -04:00