Michael Aaron Murphy
8f7b400143
refactor(applet): move applet module to crate root
2023-09-18 07:45:11 +02:00
Eduardo Flores
69cd9a3bfa
fix(applet): button & icon API refactor w/ applet example
2023-09-18 02:35:50 +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
7f0943924a
feat(theme): improvements and refactoring of theme module
...
fix: theme rebase
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
Ashley Wulber
4903d7792e
refactor: default the icon theme to Cosmic
2023-08-29 15:26:58 -04:00
Ashley Wulber
55416c8b9d
feat: allow creating apps with no main window on wayland
2023-08-23 15:15:50 -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
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
a387adcb1b
chore: improve documentation
2023-08-16 16:59:15 +02: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
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