Héctor Ramón
7ccd87c36b
Merge pull request #1550 from bungoboingo/feat/multidirectional-scrolling
...
[Feature] Multidirectional scrolling
2023-01-09 19:23:35 +01:00
Héctor Ramón
da1b375579
Merge pull request #1562 from casperstorm/feat/custom-accessory-content
...
Added ability to customize the handle of a `pick_list`
2023-01-02 20:36:40 +01:00
bungoboingo
9f85e0c721
Reworked Scrollable to account for lack of widget order guarantees.
...
Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
2022-12-29 18:29:15 -08:00
Bingus
d91f4f6aa7
Add multidirectional scrolling capabilities to the existing Scrollable.
2022-12-29 10:21:23 -08:00
Héctor Ramón Jiménez
39f49186ce
Rename pick_list::AccessoryContent to Handle
...
... and rename `Default` variant to `Arrow`.
2022-12-14 03:31:12 +01:00
Héctor Ramón Jiménez
f99d24e085
Fix casing in theme
2022-12-06 04:44:37 +01:00
Héctor Ramón Jiménez
b205a66347
Remove appearance from Handle
...
... and pass it directly to `Renderer::draw` instead.
2022-12-06 04:34:00 +01:00
Michael Aaron Murphy
75ae0de9bd
feat: SVG styling with icon fill color
2022-12-06 03:59:53 +01:00
Poly
74ebcca146
Fix custom style of PickList
2022-12-02 16:37:55 +01:00
Casper Rogild Storm
fe5ab1ee87
Added accessory_content_color to appreance.
2022-11-29 12:06:45 +01:00
Casper Rogild Storm
0974e9e865
Added ability to customize accessory content.
2022-11-29 11:36:00 +01:00
Héctor Ramón Jiménez
4b3d0fb08d
Write documentation for iced_style
2022-11-10 01:10:28 +01:00
Héctor Ramón Jiménez
84a1edecea
Use derive(Default) for theme types
2022-11-09 04:07:42 +01:00
Héctor Ramón Jiménez
18fb74f200
Introduce Custom variants for every style in the built-in Theme
2022-11-09 04:05:31 +01:00
Héctor Ramón Jiménez
df78777675
Box Custom in Theme
2022-11-03 03:27:55 +01:00
Héctor Ramón Jiménez
708be32e3d
Derive Copy for Theme
2022-11-03 03:23:36 +01:00
Héctor Ramón Jiménez
9966c6f883
Make Theme::Custom fields opaque
2022-11-03 03:23:36 +01:00
Ashley Wulber
4f3215f48e
fix: clippy lint https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
2022-11-03 03:23:36 +01:00
Ashley Wulber
e2166ecad0
wip: Custom palette for built in theme
2022-11-03 03:23:35 +01:00
Ian Douglas Scott
be9cd3a09f
Use once_cell instead of lazy_static
...
This seems to be generally considered the preferred, idiomatic solution
now. This is in the standard library behind a feature flag (apparently
now called `std::sync::LazyLock`).
2022-10-28 15:58:21 -07:00
MG_REX
dbd76ea21c
Derive Clone and Copy for toggler::Appearance
2022-10-05 19:08:07 +02:00
MG_REX
d95c216b2d
Add is_selected argument in radio::StyleSheet
2022-10-05 19:07:02 +02:00
Nick Senger
0c13af179f
feat: allow specification of border_radius for pick_list::Menu
2022-08-02 16:16:06 -07:00
Héctor Ramón Jiménez
4b8ae71b63
Add and purify arc example by @ThatsNoMoon
2022-07-10 15:15:29 +02:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
...
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Héctor Ramón Jiménez
3e643a9d6b
Fix inconsistent styling for Radio and Checkbox
2022-07-08 20:23:38 +02:00
Héctor Ramón Jiménez
bb07d017e8
Add Style variant support to application::StyleSheet
2022-07-08 20:07:33 +02:00
Héctor Ramón Jiménez
1dd1a2f97f
Introduce StyleSheet for Text widget
2022-06-29 10:51:01 +02:00
Héctor Ramón Jiménez
3a22faaa20
Remove unused code warnings
2022-06-07 04:55:46 +02:00
Héctor Ramón Jiménez
396735b682
Implement theme styling for PickList and Menu
2022-06-07 04:51:44 +02:00
Héctor Ramón Jiménez
97555e67af
Implement theme styling for Container
2022-06-07 04:11:24 +02:00
Héctor Ramón Jiménez
de21a651c0
Implement theme styling for Scrollable
2022-06-07 03:26:48 +02:00
Héctor Ramón Jiménez
ce53d3933c
Implement theme styling for TextInput
2022-06-07 01:11:35 +02:00
Héctor Ramón Jiménez
835877fc63
Implement theme styling for Checkbox
2022-06-04 03:26:53 +02:00
Héctor Ramón Jiménez
1388d71f03
Expose palette module in theme
2022-06-04 03:04:43 +02:00
Héctor Ramón Jiménez
77dc9dc2cb
Implement theme styling for ProgressBar
2022-06-01 02:40:42 +02:00
Héctor Ramón Jiménez
e4ca779e43
Introduce Custom style variant for Rule
2022-06-01 02:04:23 +02:00
Héctor Ramón Jiménez
c275fde67a
Implement theme styling for Rule
2022-06-01 01:56:46 +02:00
Héctor Ramón Jiménez
6f69df3d41
Implement theme styling for PaneGrid
2022-06-01 01:46:14 +02:00
Héctor Ramón Jiménez
3e2b6247f7
Implement theme styling for Toggler
...
... and wire up theming to the `styling` example.
2022-06-01 01:46:04 +02:00
Héctor Ramón Jiménez
28d09bfff1
Implement theme styling for Radio
2022-05-27 01:29:36 +02:00
Héctor Ramón Jiménez
d988d813d7
Introduce specific types for each palette::Extended field
...
We will have more control over color calculations for each semantic purpose this way.
2022-05-26 23:58:56 +02:00
Héctor Ramón Jiménez
cf0230072c
Rename Variant to Style and Style to Appearance
2022-05-26 23:07:34 +02:00
Héctor Ramón Jiménez
7f3b7075db
Rename theme::Definition to application::StyleSheet
2022-05-26 19:02:15 +02:00
Héctor Ramón Jiménez
5a39dad506
Tweak styling of Slider and improve contrast of Background
2022-05-26 05:31:25 +02:00
Héctor Ramón Jiménez
822a3cd04f
Let a Theme control the text_color of an application
2022-05-26 01:10:26 +02:00
Héctor Ramón Jiménez
3a820b45f3
Implement theme styling for Slider
2022-05-26 00:40:27 +02:00
Héctor Ramón Jiménez
03eda9b162
Let a Theme control the background color of an application
...
... and remove `Application::background_color`
2022-05-25 05:01:18 +02:00
Héctor Ramón Jiménez
2cfb307f8c
Implement basic theming Palette
2022-05-21 17:33:31 -04:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00