Héctor Ramón Jiménez
e8049af23d
Make horizontal_space and vertical_space fill by default
2024-02-15 02:08:22 +01:00
Héctor Ramón Jiménez
f53cfb8efa
Use Borrow for both options and selected in PickList
2024-02-14 03:54:40 +01:00
Héctor Ramón Jiménez
17cb548e20
Use Theme::ALL for theme selector in styling example
2024-02-03 18:51:30 +01:00
Var Bhat
04b9dc4e2d
Add Dracula, Nord, Solarized and Grubvox variants to Theme
2024-02-03 18:29:25 +01:00
Alexander van Saase
b5f1ca1695
Introduce support for disabling a checkbox
2024-02-01 13:16:28 +01:00
Héctor Ramón Jiménez
3850a46db6
Add Theme selector to layout example
2024-01-10 10:01:51 +01:00
Héctor Ramón Jiménez
0655a20ad1
Make Shrink have priority over Fill in layout
2024-01-04 06:51:21 +01:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
...
RIP Gfycat
2023-09-07 05:05:43 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
...
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón
20bf01a551
Use Length::Fill instead of fixed length in styling example
2023-09-03 08:33:02 +02:00
Akshay Raina
3a44ad3c73
fix(examples-styling): fixed checkbox and toggler getting hidden behind scrollbar
...
Column inside scrollable is having Length::Fill so it is taking entire width thus hiding check box and toggler.
Added fixed width to scrollable so Lenth::Fill will be relative to fixed width
2023-09-03 08:33:02 +02:00
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