Michael Aaron Murphy
b1cbcfaf5b
refactor: Replace nav bar macros with nav bar widget
2023-01-10 20:49:49 +01:00
Michael Aaron Murphy
dd29f958af
feat: add nav_bar widget based on vertical view switcher
2023-01-10 20:49:49 +01:00
Michael Aaron Murphy
dd3ff2e622
feat(segmented-button): icon support with state ergonomics
2023-01-10 20:49:49 +01:00
Michael Aaron Murphy
197d5a1c14
feat: Add IconSource::load method to get icon handles
2023-01-10 20:49:49 +01:00
Michael Aaron Murphy
7d018a2139
feat(settings): global setting for icon theme
2023-01-05 16:57:02 +01:00
Michael Aaron Murphy
043485c68d
improv(icon): icon theme set to None by default
2023-01-05 16:57:02 +01:00
Michael Aaron Murphy
38f9de4405
improv(icon): IconSource paths now stored as Cow<Path>
2023-01-05 16:57:02 +01:00
Michael Aaron Murphy
357de5e9be
improv(segmented-button): Express vertical/horizontal variants as a state machine
...
It's difficult to make iterative developments when there's two
nearly-identical types that need to be kept synchronized to any change.
Rust gives us traits so we should use them instead of duplicating code.
This made it easier to make styling and layout improvements to both
instances of the segmented button.
2023-01-04 05:55:27 +01:00
Michael Aaron Murphy
176c30901a
chore: ignore doc tests for segmented button examples
2023-01-04 05:46:24 +01:00
Victoria Brekenfeld
75687acf2f
chore: apply cargo fmt
2023-01-04 05:46:24 +01:00
Michael Aaron Murphy
444e389496
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
2023-01-03 20:29:50 +01:00
Michael Aaron Murphy
ad0443af3f
feat(segmented-button): Vertical orientation functionality
2023-01-03 00:12:28 -05:00
Michael Aaron Murphy
de580ffefc
feat(widget): add an Orientation::{Horizontal,Vertical} enum
2023-01-03 00:12:28 -05:00
Michael Aaron Murphy
052d9f655b
feat(segmented-button): Configurable fonts
2022-12-28 18:34:45 -05:00
Michael Aaron Murphy
5f9ff54352
improv(segmented-button): Documentation improvements with cosmic widget configurations
2022-12-28 18:34:45 -05:00
Michael Aaron Murphy
b13ad0b453
improv(segmented-button): Add more From implementations for ButtonContent
2022-12-28 18:34:45 -05:00
Michael Aaron Murphy
bbac6b9bbf
feat(segmented-button): Selection style and implementation
2022-12-28 18:34:45 -05:00
Michael Aaron Murphy
3454483345
feat(segmented-button): Configurable background and hover styling
2022-12-28 18:34:45 -05:00
Michael Aaron Murphy
e97c258422
feat: implement SegmentedButton widget
2022-12-28 10:19:03 -05:00
Ashley Wulber
01701759c9
fix: make sure that lazy widgets have calculated their element before calling layout
2022-12-27 22:38:49 +01:00
Michael Aaron Murphy
d732f64fb8
feat: Border radius support for buttons
2022-12-23 16:09:17 +01:00
Michael Aaron Murphy
dcbde3b1f2
chore: Apply clippy lints
2022-12-23 15:10:13 +01:00
Jeremy Soller
e21f1ec7b8
Add abouts page, improve settings list padding
2022-12-21 12:18:54 -07:00
Jeremy Soller
478b399365
Fix nav button padding
2022-12-21 10:06:50 -07:00
Jeremy Soller
fbda6a4f07
Titles on unimplemented pages, fix nav bar padding
2022-12-21 10:04:56 -07:00
Jeremy Soller
0681c1edea
Improve responsive layout
2022-12-21 08:58:17 -07:00
Jeremy Soller
dd13b8300c
Adjust padding for nav bar and content
2022-12-21 08:22:52 -07:00
Jeremy Soller
98815f5131
Add desktop options page
2022-12-20 16:02:44 -07:00
Jeremy Soller
aa7b66c925
WIP navigation demo for subpages on Desktop page
2022-12-20 15:06:01 -07:00
Jeremy Soller
0ad2ffe2d4
Add more pages to example
2022-12-20 14:38:32 -07:00
Jeremy Soller
a716e0837d
Fixes for nav_button macro
2022-12-19 23:56:02 +01:00
Michael Aaron Murphy
6e30394270
chore: Rebase Iced
2022-12-19 17:03:13 +01:00
Ashley Wulber
50b8131e21
feat: aspect ratio limiting container
2022-12-18 14:07:08 +01:00
Ashley Wulber
d6800f7716
feat!: Icon support for SVGs and Images w/ IconSource
2022-12-17 01:25:49 +01:00
Ashley Wulber
8b1014a754
feat: rectangle tracker container
2022-12-15 00:25:47 +01:00
Michael Aaron Murphy
cb77ca1255
feat: Add on_change input argument to SpinButton
2022-12-07 03:44:57 +01:00
Michael Aaron Murphy
3f88fb98e2
feat(widget): Use symbolic icons in SpinButton
2022-12-07 03:20:52 +01:00
Michael Aaron Murphy
ef71f7f027
feat(widget): Add SpinButtonModel
...
Enables convenient handling of spin messages, and specifying steppings, minimum, and maximum values
2022-12-07 03:03:41 +01:00
Eduardo Flores
200784b6c1
feat(widget): Add spin_button widget
...
Co-authored-by: Michael Aaron Murphy <michael@mmurphy.dev>
2022-12-07 00:17:34 +01:00
Michael Aaron Murphy
d13415713c
fix: Remove static-rc due to debug assertions
2022-12-06 23:11:59 +01:00
Ashley Wulber
9796fa9f15
Merge branch 'cosmic-design-system' into sctk-cosmic-design-system
2022-12-06 17:03:31 -05:00
Michael Aaron Murphy
37f978d1b3
wip: Various refactorings and improvements
2022-12-06 16:14:39 +01:00
Ashley Wulber
4788693027
fix: qualigy path
2022-12-01 23:31:37 -05:00
Ashley Wulber
a8c753d429
feat: transparent button style
2022-11-17 20:49:20 -05:00
Ashley Wulber
3850def414
image icon
2022-11-17 18:07:57 -05:00
Ashley Wulber
33779b8652
wip: popup helpers
2022-11-15 23:11:48 +01:00
Ashley Wulber
b1c3a52589
wip: example applet
2022-11-11 05:06:54 +01:00
Ashley Wulber
45ccc8c3d2
working examples with iced-sctk
2022-11-10 16:19:13 +01:00
Michael Aaron Murphy
702ea033af
fix: Navigation button theming
2022-11-01 18:13:00 +01:00
Michael Aaron Murphy
4a899189e6
feat: Themable SVGs, applied to window controls
2022-11-01 16:07:51 +01:00