Commit graph

58 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
b38f7d2837
Center Submit button vertically in styling example 2023-06-21 18:07:26 +02:00
Héctor Ramón Jiménez
e6a93e960c
Rename on_change to on_input for TextInput 2023-04-12 04:19:45 +02:00
Dan Mishin
f10e936f00
Introduce disabled state for TextInput 2023-04-12 03:55:18 +02:00
Héctor Ramón Jiménez
7b8b01f560
Use f32 in Length::Units and rename it to Fixed 2023-02-17 15:40:17 +01:00
13r0ck
42b1bfe66d Fix: Clippy lint 'uninlined_format_args' 2023-01-27 14:02:48 -07: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
d5a933b047
refactor: remove once_cell from styling example 2022-11-03 03:23:36 +01:00
Ashley Wulber
bc26dff2ca
refactor: undo changes to radio 2022-11-03 03:23:35 +01:00
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