Commit graph

29 commits

Author SHA1 Message Date
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management 2025-03-14 16:56:21 +01:00
Michael Aaron Murphy
5422ab3130
feat(list_column): configurable list item and divider padding 2024-12-10 16:35:57 +01:00
Vukašin Vojinović
de0c1921f7 fix(list_column): match padding/spacing to designs 2024-12-02 17:43:19 +01:00
Michael Aaron Murphy
01bd999d28 fix(list_column): broken sliders and flex row in cosmic-settings 2024-11-11 10:56:23 -05:00
Vukašin Vojinović
707f2115eb fix(context_drawer): center header elements 2024-11-08 15:59:33 +01:00
Vukašin Vojinović
127ce17b85 improv: add window border 2024-11-05 10:02:19 +01:00
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Michael Aaron Murphy
701638009d
fix(list_column): set 32px minimum height for each list item 2024-09-23 20:46:55 +02:00
Vukašin Vojinović
282700b987 improv: use spacing variables in more places 2024-09-23 12:40:22 -04:00
Vukašin Vojinović
1046778d01 improv: spacing/padding fixes 2024-09-04 18:00:16 +02:00
Vukašin Vojinović
71cd25c06d improv(list_column): match container padding to list spacing
This ensures that the vertical space between the top/bottom list items and the edges of the container remains the same as the spacing between items, when the default `list_column` spacing is changed.
2024-09-03 13:34:13 +02:00
Eduardo Flores
2f6f8aa22b fix(style): fixed default style for list_column 2024-03-23 12:18:35 -06:00
Eduardo Flores
3b1f19ac70 improv(list_column): added setter for style. 2024-03-23 11:43:44 -06:00
Michael Aaron Murphy
96549d1b84 fix(widget): default ListColumn spacing to 12 2023-09-19 17:22:20 +02:00
Eduardo Flores
485945591b
feat(widget): Added spacing and padding method to list column 2023-09-17 22:10:48 +02:00
Michael Aaron Murphy
51ac288eed feat(widget): create list-styled containers with list::container() 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
4e4eeaac12 feat!(widget): rewrite button & icon widget APIs 2023-09-14 01:38:56 +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
Ian Douglas Scott
b85c504d72
theme: Use boxed functions instead fn pointers (#99)
This is more general, and necessary if the custom theming is dynamically
generated.

Iced's builtin theme also uses `Box`ed `Fn`, or `Rc` where clone is
required, so this seems reasonable.

Only `Text` is left using `fn`, since it needs to be `Copy`. Hopefully
that can be changed in Iced at some point.

`::custom` methods are added to make these variants a little more
convenient to construct. This replaces a couple `From` implementations,
which are potentially problematic with a generic.
2023-04-28 16:04:57 -07:00
Ashley Wulber
844aeba379 refactor(theme): make Theme Copy 2023-02-28 12:26:38 -07:00
Ashley Wulber
cbb21932d8 feat(theme): use cosmic-theme 2023-02-28 12:26:38 -07:00
Ashley Wulber
becdbb6eb3 wip: use CosmicContainer 2023-02-28 12:26:38 -07:00
Ashley Wulber
a449a52dee wip(theme): use transparent overlays for component colors where possible 2023-02-28 12:26:38 -07:00
Michael Aaron Murphy
9a095e4d94 feat(divider): add functions for divider style variants of a Rule 2023-01-30 21:57:24 +01:00
Victoria Brekenfeld
75687acf2f chore: apply cargo fmt 2023-01-04 05:46:24 +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
aa7b66c925
WIP navigation demo for subpages on Desktop page 2022-12-20 15:06:01 -07:00
Michael Aaron Murphy
37f978d1b3
wip: Various refactorings and improvements 2022-12-06 16:14:39 +01:00