Commit graph

83 commits

Author SHA1 Message Date
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
13r0ck
c46207a993 CosmicAppletHelper: Add window size helper 2022-12-20 20:04:10 -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
Jeremy Soller
e8291584c4 Add Svg theme for an icon on top of a primary button 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
42ac442183 feat: custom button theme 2022-12-18 14:06:05 +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
Ashley Wulber
91e826d8ea feat: applet-window-settings 2022-12-08 19:02:29 +01:00
Ashley Wulber
5dbb050d48
fix: Updates & fixes the applets helpers 2022-12-07 19:39:11 +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
0f857b18ea
fix: allow default popup positioner to be constrained 2022-12-05 16:54:22 -05: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
6f17328eb1
refactor: accept icon name, and style in icon_button 2022-11-17 16:45:09 -05:00
Ashley Wulber
33779b8652
wip: popup helpers 2022-11-15 23:11:48 +01:00
Ashley Wulber
c48fca40fe
fix: typo 2022-11-15 11:30:42 +01:00
Ashley Wulber
8d4e7e1cf1
refactor: accept size in popup helper and add offset 2022-11-15 11:22:27 +01:00
Ashley Wulber
9174e42099
fix: correctly align the container for popups 2022-11-14 16:58:04 +01:00
Ashley Wulber
00eed9c741
feat: popup container helper 2022-11-14 16:33:05 +01:00
Ashley Wulber
49f0f34270
dependencies 2022-11-14 00:38:57 +01:00
Ashley Wulber
9260ee87e1
helpers 2022-11-12 01:55:37 +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
Ian Douglas Scott
947532413a Include Cosmic theme in libcosmic, instead of in Iced fork
I think it's best to only include things in the Iced fork that can't be
done without forking Iced, and/or are expected to be merged upstream.
The theme doesn't seem to be either, so it fits more appropriately in
libcosmic.

That should make it easier to keep up with upstream, and it may help to
have all the Cosmic parts in one place.

Based on https://github.com/pop-os/iced commit ad9026e.
2022-10-29 11:14:49 -06:00
Jeremy Soller
621febe95d
Expose iced_native and iced_style 2022-10-18 10:07:32 -06:00
Eduardo Flores
07e53ddadd Reimplemented NavigationBar
- Navigation Bar was reimplemented to support sections and pages.
- Created new widget called separator, a horizontal rule with the COSMIC
  theme.
2022-10-13 11:42:13 +02:00
Eduardo Flores
420d3c3dfc Changed the file structure 2022-10-13 11:42:13 +02:00
Eduardo Flores
7743d0d084 Implemented Expander
- Updated example to show behavior
- Created styles for Expander and ExpanderRow
- Simpler implementation of `ExpanderRow`
- Deleted `ExpanderData` and replaced it with `ExpanderRow`
- Every row can now have child rows.
- Ran cargo fmt.
- Deleted settings example
- Added expander to cosmic example
- Expander icons now render

ListBox partially implemented
2022-10-13 11:42:13 +02:00
Michael Aaron Murphy
59d1b4c38d
feat: Add minimize window support to headerbar 2022-10-11 15:34:30 +02:00
Michael Aaron Murphy
0365737908
feat: Window maximize support, including double cick on headerbar 2022-10-09 16:39:10 +02:00
Eduardo Flores
67ff797018 New approach to the HeaderBar widget 2022-10-09 12:56:47 +02:00
Eduardo Flores
5949eb8d89 Initial implementation of Expander widget 2022-10-09 12:56:47 +02:00