refactor!: separate horizontal and vertical segmented button widgets
- Removes the orientation enum in favor of two separate widgets - Implements the spacing attribute for both widgets - Demo is updated to display spaced variants of the widgets
This commit is contained in:
parent
3af1da6332
commit
444e389496
12 changed files with 969 additions and 547 deletions
|
|
@ -7,7 +7,7 @@ edition = "2021"
|
|||
name = "cosmic"
|
||||
|
||||
[features]
|
||||
default = ["wayland"]
|
||||
default = ["swbuf", "winit"]
|
||||
debug = ["iced/debug"]
|
||||
swbuf = ["iced/swbuf", "iced_swbuf"]
|
||||
wayland = ["iced/wayland", "iced_glow"]
|
||||
|
|
@ -25,7 +25,6 @@ palette = "0.6.1"
|
|||
cosmic-panel-config = {git = "https://github.com/pop-os/cosmic-panel", optional = true }
|
||||
sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", optional = true, rev = "3776d4a" }
|
||||
slotmap = "1.0.6"
|
||||
stack_dst = "0.7.2"
|
||||
|
||||
[dependencies.cosmic-theme]
|
||||
git = "https://github.com/pop-os/cosmic-theme.git"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue