Commit graph

47 commits

Author SHA1 Message Date
Ashley Wulber
e2166ecad0
wip: Custom palette for built in theme 2022-11-03 03:23:35 +01:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API 2022-07-27 06:49:20 +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
77dc9dc2cb
Implement theme styling for ProgressBar 2022-06-01 02:40:42 +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
a206d22670
Use Theme background in styling example 2022-06-01 01:46:08 +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
d5bc610d01
Fix examples and doc-tests 2022-05-26 23:12:11 +02: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
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉 2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
93285d85b0
Remove ambiguous text_color attributes for Checkbox and Radio
Instead, always use a `StyleSheet`.
2022-01-20 18:34:15 +07:00
Daniel May
1a6c912332 Add checkbox text_color styling 2021-11-14 11:35:12 +01:00
Héctor Ramón
f084ed8df1
Merge pull request #1106 from RamType0/RemoveUnnecessaryStringAllocationInExample
Remove unnecessary String allocation
2021-11-10 23:59:35 +07:00
Ram.Type-0
0245f289b2 Remove unnecessary String allocation
Remove unnecessary String allocation by passing &format! or &x.to_string as impl Into<String>
2021-11-02 00:05:25 +09:00
Héctor Ramón Jiménez
0d3c9ef7bd
Reintroduce Box for style_sheet in TextInput 2021-10-31 17:45:57 +07:00
Héctor Ramón Jiménez
0c76e0307f
Reintroduce Box for style_sheet in Slider 2021-10-31 17:42:43 +07:00
Héctor Ramón Jiménez
eed19dcf81
Reintroduce Box for style_sheet in Scrollable 2021-10-31 17:39:24 +07:00
Héctor Ramón Jiménez
bd7b086ec1
Reintroduce Box for style_sheet in Radio 2021-10-31 17:14:10 +07:00
Héctor Ramón Jiménez
40a5de5811
Reintroduce Box for style_sheet in Container 2021-10-31 17:02:59 +07:00
Héctor Ramón Jiménez
fcc282bd76
Reintroduce Box for style_sheet in Checkbox 2021-10-31 16:58:02 +07:00
Héctor Ramón Jiménez
d36ce33a95
Reintroduce Box for style_sheet in Button 2021-10-31 16:53:18 +07:00
Héctor Ramón Jiménez
7c08c6bd13
Remove Renderer trait for Checkbox 2021-10-21 18:50:27 +07:00
Héctor Ramón Jiménez
d39ad717ed
Wire up styling to Radio in iced_native 2021-10-20 19:18:40 +07:00
Héctor Ramón Jiménez
e914888f57
Implement Widget::draw for TextInput 2021-10-20 18:40:39 +07:00
Héctor Ramón Jiménez
11bcb13427
Wire up styling to Slider in iced_native 2021-10-20 15:50:42 +07:00
Héctor Ramón Jiménez
3140cdc4ba
Wire up styling to Button in iced_native 2021-10-18 16:02:30 +07:00
Héctor Ramón Jiménez
d61cb58d92
Wire up container styling to iced_native 2021-10-18 15:36:32 +07:00
Héctor Ramón Jiménez
54a9a232f8
Draw scrollbar in Widget::draw for Scrollable 2021-10-18 14:48:33 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module 2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row 2021-09-20 15:12:43 +07:00
Kaiden42
1ef38cc207 Add Toggler to styling example 2021-06-03 20:21:55 +07:00
Dispersia
983aa1b366 Run cargo fmt 2021-04-12 23:23:47 -07:00
Héctor Ramón Jiménez
f41eacc3dc Use f32 for border_width and border_radius 2020-11-23 00:31:50 +01:00
Héctor Ramón Jiménez
c1f79b40cf Make Application and Sandbox return a Result 2020-09-08 00:44:59 +02:00
Kaiden42
f025794985 Update styling example
Also run `cargo fmt`
2020-08-25 10:42:53 +02:00
Billy Messenger
32561bd85c added FillMode enum style for the Rule widget 2020-08-22 21:23:44 +02:00
Billy Messenger
8d68c8584e widget Rule added 2020-08-22 21:23:27 +02:00
Héctor Ramón Jiménez
b30ddf90d2 Change selection color in styling example 2020-03-24 21:51:56 +01:00
Héctor Ramón Jiménez
e77fa175aa Merge branch 'master' into feature/text-selection 2020-03-24 19:08:21 +01:00
Héctor Ramón Jiménez
e1438774af Fix Scrollable width consistency 2020-03-14 23:25:19 +01:00
FabianLars
e8bf0fc099 styling example fixed (added selection_color) 2020-02-23 11:25:48 +01:00
Héctor Ramón Jiménez
acfc815e1d Let checkbox breathe in styling example 2020-02-06 01:24:04 +01:00
Héctor Ramón Jiménez
4722695800 Add README for styling example 2020-01-20 07:22:10 +01:00
Héctor Ramón Jiménez
7cea737115 Package examples and remove dev-dependencies 2020-01-20 06:27:01 +01:00