Jeremy Soller
16aaf10b56
Add support for themed application dialog
2024-02-27 09:38:33 -07:00
Jeremy Soller
94905c5201
Add style for dialog
2024-02-26 16:56:23 -07:00
Ashley Wulber
524ceef47c
chore: fmt
2024-02-26 16:50:40 -07:00
Ashley Wulber
09cd1a2319
chore(theme): clippy cleanup
2024-02-26 16:50:40 -07:00
Ashley Wulber
a09f4601ee
chore: add shade color to theme
2024-02-26 16:50:40 -07:00
Jeremy Soller
a0340aac26
Center popovers without positions
2024-02-26 15:12:46 -07:00
Michael Aaron Murphy
c7093b67f6
chore(examples): fix build
2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
ff9438c5ba
refactor!(widget): rename view_switcher to tab_bar to match Figma docs
2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
bfc84c4759
refactor!(widget): rename segmented_selection to segmented_control to match Figma docs
2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
366a450977
improv(segmented_button): rework layout, drawing, and styling to fix visual flaws
2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
bd353c6b54
improv(widget): share object-select svg handle between widgets using it
2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
552077bd8e
chore: add web-colors feature from iced
2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
e90b584d91
improv(slider): add styling for breakpoint and right rail
2024-02-21 17:01:31 +01:00
Ashley Wulber
08b2e1ca38
cleanup
2024-02-14 11:05:24 -05:00
Ashley Wulber
fc91f31d81
chore: update iced
2024-02-14 11:05:24 -05:00
Ashley Wulber
676a090624
chore: update iced
2024-02-13 17:15:23 -05:00
Jeremy Soller
b430656966
Format
2024-02-13 10:38:35 -07:00
Jeremy Soller
3c5dcecf2b
Changes for multiple Application support
...
- Add Application::main_window_id to allow ids other than MAIN
- Make Cosmic and Cosmic::app public to allow custom use
2024-02-13 10:38:35 -07:00
Ian Douglas Scott
cc8033d74b
feat(header_bar): Show window menu on right click
...
With this, apps like cosmic-term require no changes to show the
compositor window menu when the header is right clicked.
2024-02-13 17:10:04 +01:00
Michael Aaron Murphy
6adc037f40
feat(segmented_button): add scrollable_focus to toggle focus scrolling
2024-02-12 18:16:54 +01:00
Jeremy Soller
02cee1d805
fix: maximize instead of fullscreen
...
This fixes interactions with the window manager including dodging
exclusive zones, correctly sharpening corners when the window manager
sets the maximized mode, and correctly toggling the maximized state when
either F11 or the maximize button are clicked.
2024-02-12 17:53:59 +01:00
Ashley Wulber
072a3d5ca0
feat: lower the opacity of colors used in the segmented button when disabled
...
This is needed for the new tiling applet. Transparent text only seems to be working with the wgpu feature at the moment
2024-02-12 11:55:27 +01:00
Ashley Wulber
5738ac2055
fix(input): handle space named key
2024-02-09 11:30:29 -07:00
Jeremy Soller
f9d2e58327
Update iced
2024-02-09 09:07:10 -07:00
Jeremy Soller
a89b6fd53a
Do not build docs with wgpu feature due to stack overflow
2024-02-09 08:41:30 -07:00
Ashley Wulber
3c1a60cb05
fix: build with a11y feature
2024-02-08 17:29:02 -07:00
Jeremy Soller
b01b34df2b
Update iced to fix documentation build
2024-02-08 15:10:31 -07:00
Ashley Wulber
d0ff0b739d
fix: typo in button when setting border radius
2024-02-08 07:45:22 -05:00
Ashley Wulber
5530ac3254
fix: typo in resolve for segmented button
2024-02-08 07:45:03 -05:00
Ashley Wulber
68dc09cd6c
chore: update iced
2024-02-07 21:41:04 -05:00
Ashley Wulber
356500a95a
chore: update iced
...
unpins cosmic-text
2024-02-07 11:44:48 -05:00
Ian Douglas Scott
6ebda94c79
Remove reference to wip-iced-update branch in example
2024-02-06 19:20:26 +01:00
Ian Douglas Scott
8ab7fc2276
Update iced submodule
...
Update to include https://github.com/pop-os/iced/pull/98 .
2024-02-06 19:20:26 +01:00
Ashley Wulber
045dca649a
chore: add doc comment to SurfaceClosed
2024-02-06 11:28:27 -05:00
Ashley Wulber
ff0d49672e
chore: update iced
2024-02-06 11:28:27 -05:00
Ashley Wulber
487cd1737f
chore: update iced
2024-02-06 11:28:27 -05:00
Ashley Wulber
054b93990b
refactor: call the close requested method
2024-02-06 11:28:27 -05:00
Ashley Wulber
5606306044
chore: update iced
...
fix so that input accounts for modifiers
2024-02-06 11:28:27 -05:00
Ashley Wulber
5ac8f120b4
cleanup: remove extra example from text input
2024-02-06 11:28:27 -05:00
Ashley Wulber
fda17c9d97
fix: update applet button type
2024-02-06 11:28:27 -05:00
Ashley Wulber
82dfab633a
refactor: make Theme a generic parameter for the button
...
This makes the button possible to use with custom themes in cosmic-time
2024-02-06 11:28:27 -05:00
Ashley Wulber
11ac07010b
refactor: make Theme a generic parameter for the toggler
...
This makes the toggler possible to use with custom themes in cosmic-time
2024-02-06 11:28:27 -05:00
Ashley Wulber
989d14b206
refactor: make Theme a generic parameter for the cosmic container
...
This makes the container possible to use with custom themes in cosmic-time
2024-02-06 11:28:27 -05:00
Ashley Wulber
18b2b74b8d
fix: button border radius
2024-02-06 11:28:27 -05:00
Ashley Wulber
5e13b18699
chore: update iced
2024-02-06 11:28:27 -05:00
Ashley Wulber
aff337f5dd
chore: update iced and fix input single pointer press interaction
2024-02-06 11:28:27 -05:00
Ashley Wulber
9d479248a5
cleanup: text input
2024-02-06 11:28:27 -05:00
Ashley Wulber
0d685ba2de
fix(color picker): apply update before updating text
2024-02-06 11:28:27 -05:00
Ashley Wulber
40847d3bf7
chore: update with iced fix
2024-02-06 11:28:27 -05:00
Ashley Wulber
e778782328
fix: layout fixes for nav bar
2024-02-06 11:28:27 -05:00