Héctor Ramón Jiménez
88185f9d97
Regenerate styling snapshots (one last time)
2025-08-07 04:24:38 +02:00
Héctor Ramón Jiménez
53c059bf88
Differentiate secondary color from primary
2025-08-06 19:37:14 +02:00
Héctor Ramón Jiménez
af3125842d
Reduce text influence over secondary color
2025-08-06 18:46:39 +02:00
Héctor Ramón Jiménez
468014a184
Fix minor styling inconsistencies in some widgets
2025-08-06 02:59:38 +02:00
Héctor Ramón Jiménez
4d4f565da7
Try to make light themes a bit more colorful
2025-08-05 22:04:35 +02:00
Héctor Ramón Jiménez
6e78bea2d2
Remove bump hack in theme::palette
2025-08-05 10:06:38 +02:00
Héctor Ramón Jiménez
0857eb3bde
Improve contrast of built-in themes by leveraging Oklch
2025-08-05 10:01:01 +02:00
Héctor Ramón Jiménez
c98f3d525a
Add background styling for button
2025-08-03 21:45:42 +02:00
Héctor Ramón Jiménez
3d7306844b
Regenerate styling snaphots (x3!)
2025-08-02 20:29:11 +02:00
Héctor Ramón Jiménez
d475ae5b45
Regenerate styling snapshots (again!)
2025-07-29 22:43:09 +02:00
Héctor Ramón Jiménez
b2aa8794b8
Regenerate snapshots for styling example
2025-07-29 22:25:23 +02:00
Héctor Ramón Jiménez
ef13eb58b2
Fix styling example and regenerate snapshots
2025-06-27 17:05:38 +02:00
Héctor Ramón Jiménez
5ca5000cdc
Add elided lifetimes to view helpers in examples
2025-06-24 14:29:36 +02:00
Héctor Ramón Jiménez
cd60385b1e
Update styling test snapshots
2025-05-29 00:02:59 +02:00
Héctor Ramón Jiménez
9d4e849a0e
Revert "Merge pull request #2962 from iced-rs/fix/blurry-quads"
...
This reverts commit 03326b955b , reversing
changes made to 7c5a4bc465 .
2025-05-28 22:51:10 +02:00
Héctor Ramón Jiménez
1d9e812e0a
Update styling test snapshots
2025-05-28 02:43:58 +02:00
Héctor Ramón Jiménez
3f67044977
Merge branch 'master' into beacon
2025-04-05 18:20:31 +02:00
Héctor Ramón Jiménez
9ac50ad094
Use cloned in styling test
2025-04-01 03:13:02 +02:00
Héctor Ramón Jiménez
2b7d8eaaca
Test different Theme variants in styling example
2025-04-01 02:55:27 +02:00
Héctor Ramón Jiménez
fd1101bd5f
Unify Program definition in iced_program subcrate
2025-03-12 02:10:42 +01:00
Héctor Ramón Jiménez
954f49d4d7
Add weakest and strongest to Background palette
...
... and tweak background shade generation logic.
2025-02-22 00:34:55 +01:00
Héctor Ramón Jiménez
91af1c5ed6
Update all examples to Rust 2024
2025-02-21 01:37:14 +01:00
Héctor Ramón Jiménez
8fc57628a0
Showcase different button styles in styling example
2025-01-06 21:05:29 +01:00
Héctor Ramón Jiménez
6e4970c01a
Add label method to Toggler
2024-09-11 00:22:39 +02:00
Héctor Ramón Jiménez
c741688b4c
Add disabled state and on_toggle handler to Toggler
...
Co-authored-by: Your Name here only <krishnsundaram@gmail.com>
2024-09-11 00:22:13 +02:00
Héctor Ramón Jiménez
f98328f4f1
Add text::Wrapping support
...
Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
2024-09-04 21:26:47 +02:00
Héctor Ramón Jiménez
76737351ea
Re-export variants of Length and alignment types
2024-07-12 18:12:34 +02:00
Héctor Ramón Jiménez
f9dd5cbb09
Introduce helper methods for alignment for all widgets
2024-07-12 15:14:43 +02:00
Héctor Ramón Jiménez
341c9a3c12
Introduce daemon API and unify shell runtimes
2024-06-19 01:53:40 +02:00
Héctor Ramón Jiménez
15057a05c1
Introduce center widget helper
...
... and also make `center_x` and `center_y` set
`width` and `height` to `Length::Fill`, respectively.
This targets the most common use case when centering
things and removes a bunch of boilerplate as a result.
2024-05-03 09:11:46 +02:00
Héctor Ramón Jiménez
54f44754eb
Move Program to application module
2024-03-17 14:19:12 +01:00
Héctor Ramón Jiménez
28a27f08ed
Remove sandbox by making application more generic 🎉
2024-03-16 19:14:13 +01:00
Héctor Ramón Jiménez
bb71e8481e
Make sandbox helper take a title as well
2024-03-16 16:12:07 +01:00
Héctor Ramón Jiménez
c22269bff3
Introduce Program API
2024-03-16 05:33:47 +01:00
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