Commit graph

35 commits

Author SHA1 Message Date
Michael Aaron Murphy
9e064e7fa0 feat: configurable fonts 2024-10-05 01:47:37 +02:00
Ashley Wulber
dbcd927d4b various fixes 2024-02-06 11:28:27 -05:00
Ashley Wulber
c66e4aafd0 update to support winit multi-window 2023-12-08 10:06:13 -05:00
Michael Murphy
a223b60a0c
feat!: implement Application API 2023-08-02 11:54:07 +02:00
Ashley Wulber
e056e8c830
Cosmic advanced text (#103)
* wip: update to use cosmic-advanced-text

* use cosmic-advanced-text branch of iced

* fix: line height and spacing for segmented button and update to get svg fix

* fix: spin button styling & spacing

* update iced to fix segmented button border radius

* feat: example improvements

* feat: helper for loading fonts

* feat: add focus style to button

* fix: slider height and iced fixed

* feat: hash icon width and height

* cleanup

* update ci

* refactor: always use lazy feature of iced

* update iced

* update iced

* cleanup & update iced

* update iced: new slider & tiny-skia quad updates

* update iced: fixes for tiny-skia quad rendering with edge case border radius

* re-export iced_runtime & iced_widget

* merge master

* udpate iced

* update iced

* update iced

* update iced

* fix: make rectangle_tracker subscription only return update if there is some

* feat: derive macro for loading a cosmic-config

* feat (cosmic-config): iced subscription

* fix (example): update to rectangle tracker subscription

* fix (cosmic-config)

* refactor(cosmic-config-derive): add support for types with generic parameters

* fix (cosmic-config): feature gate updates for subscription helpers

* feat: support for custom & system themes + move cosmic-theme to libcosmic

* feat: sorta hacky way of creating header bars for libcosmic + update iced to get support for resizable windows in iced-sctk

* update iced

* update and reexport sctk

* fix: applet border radius

* feat (cosmic-theme): add id and name methods

* fix(cosmic-theme): reexport palette from cosmic-theme

* fix(cosmic-config-derive): allow use with reexported cosmic-config

* feat: update iced with fix and refactor applet env vars

* update iced
2023-05-30 12:03:15 -04:00
Michael Aaron Murphy
7d018a2139 feat(settings): global setting for icon theme 2023-01-05 16:57:02 +01:00
Michael Aaron Murphy
37f978d1b3
wip: Various refactorings and improvements 2022-12-06 16:14:39 +01: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
Eduardo Flores
5c859fa1df Widget implementation for NavBar
- Implemented NavBar as a Widget
2022-10-09 12:56:47 +02:00
Eduardo Flores
9210179731 Swapped scrollable for cosmic::scrollable
- Renamed scrollbar to scrollable
2022-10-08 20:59:53 +02:00
Eduardo Flores
f5ccd15761 Add padding to the header bar 2022-10-07 14:06:27 +02:00
Eduardo Flores
4ae03278cc Fixed sidebar responsiveness
- Created new widget `scrollbar` which can adopt COSMIC styling.
- Increased sidebar icon size by 4 pixels to improve visibility.
- Added padding inside the navigation bar to prevent collision with the scrollbar.
- Increased the max width of the condensed navbar for the scrollbar.
2022-10-07 14:06:27 +02:00
Michael Aaron Murphy
5d201fb102
example: Integrate HeaderBar into COSMIC example 2022-10-07 05:21:37 +02:00
Jeremy Soller
935a3a286c
Adjust the break point 2022-09-30 14:53:27 -06:00
Jeremy Soller
028d0175eb
Set minimum window size 2022-09-30 14:51:39 -06:00
Jeremy Soller
791f00ddb7
Update scrollbar size 2022-09-30 14:43:17 -06:00
Jeremy Soller
21efe1546c
Wrap spacers in scrollable as well. 2022-09-30 14:34:22 -06:00
Eduardo Flores
1041af65d6 Make content scrollable 2022-09-30 14:30:45 -06:00
Jeremy Soller
7480635d1d
Improve pick list padding 2022-09-30 12:43:59 -06:00
Jeremy Soller
a6bf04ea33
Responsive nav bar 2022-09-30 12:26:14 -06:00
Jeremy Soller
9f8767a1c0
Remove unnecessary padding definition from disabled buttons 2022-09-30 11:15:39 -06:00
Jeremy Soller
472135df09
Simplify nav button and add pick list 2022-09-30 11:14:44 -06:00
Jeremy Soller
153437b3b0
Add list_row macro to simplify alternative list items 2022-09-30 11:04:56 -06:00
Jeremy Soller
f09a3109e8
Simplify use of list item 2022-09-30 10:53:50 -06:00
Jeremy Soller
ae3f5b9b2e
List hierarchy changes 2022-09-30 10:38:31 -06:00
Jeremy Soller
5d25af14a9
Move list view row and toggler to libcosmic 2022-09-30 10:20:03 -06:00
Jeremy Soller
8e42dc46ea
Move list_view to libcosmic 2022-09-30 09:57:11 -06:00
Jeremy Soller
bfcaf829eb
Move more code to libcosmic 2022-09-30 09:51:00 -06:00
Jeremy Soller
5ad54bd3b1
Move implementations from example to libcosmic 2022-09-30 09:35:55 -06:00
Jeremy Soller
699e474427
Add iced cosmic example 2022-09-30 08:55:37 -06:00