Commit graph

121 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
c3b94a9158
Avoid quick flashes in layout and styling examples 2025-12-02 18:38:19 +01:00
Héctor Ramón Jiménez
7e5b6f6802
Unify keyboard subscriptions into listen 2025-12-02 18:35:50 +01:00
edwloef
86083d8ec8
add physical_key to key subscriptions 2025-12-02 09:58:00 +01:00
Héctor Ramón Jiménez
9c4f1ec086
Add padding_ratio to toggler::Style
Co-authored-by: B0ney <40839054+B0ney@users.noreply.github.com>
2025-12-01 21:20:37 +01:00
Héctor Ramón Jiménez
519e7ae414
Add auto_scroll method to scrollable widget 2025-11-28 06:08:20 +01:00
Sebastiano Giordano
0d2aa41dee
Make label optional for checkbox widget 2025-11-25 08:58:44 +01:00
Héctor Ramón Jiménez
8f87a2bc2e
Make rule API consistent with space 2025-09-19 18:09:59 +02:00
Héctor Ramón Jiménez
611f89fc59
Rename space_{x,y} to space::{horizontal,vertical} 2025-09-18 00:00:56 +02:00
Héctor Ramón Jiménez
89b7585465
Rename *_space to space_x and space_y 2025-09-11 07:13:11 +02:00
Héctor Ramón Jiménez
c684fbd6af
Rename horizontal_rule to rule and introduce Rule::vertical 2025-09-11 06:51:53 +02:00
Héctor Ramón Jiménez
a052ce58b0
Merge branch 'master' into feature/test-recorder 2025-09-11 04:57:17 +02:00
Héctor Ramón Jiménez
7fedb0cc9b
Fix edge cases when restoring system theme 2025-09-08 11:03:45 +02:00
Héctor Ramón Jiménez
4d32e733b7
Fix styling example when system theme is selected 2025-09-08 05:23:50 +02:00
Héctor Ramón Jiménez
0111f514a1
Use winit to obtain current theme::Mode 2025-09-08 05:16:20 +02:00
Héctor Ramón Jiménez
bc7d64987e
Add Auto strategy to text::Shaping 2025-08-30 18:27:05 +02:00
Héctor Ramón Jiménez
26c9dc1709
Merge branch 'master' into feature/test-recorder 2025-08-12 22:26:43 +02:00
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
98d8f466bb
Merge branch 'master' into feature/test-recorder 2025-07-08 00:29:55 +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
95e1efc6ea
Update test snapshots of styling example 2025-06-03 10:06:10 +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