Commit graph

793 commits

Author SHA1 Message Date
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
cf0230072c
Rename Variant to Style and Style to Appearance 2022-05-26 23:07:34 +02:00
Héctor Ramón Jiménez
7f3b7075db
Rename theme::Definition to application::StyleSheet 2022-05-26 19:02:15 +02:00
Héctor Ramón Jiménez
822a3cd04f
Let a Theme control the text_color of an application 2022-05-26 01:10:26 +02:00
Héctor Ramón Jiménez
3a820b45f3
Implement theme styling for Slider 2022-05-26 00:40:27 +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
27fdc70756
Merge branch 'master' into dev/system-information 2022-05-04 17:19:28 +02:00
Héctor Ramón Jiménez
f1ec0af507
Run system::information in a different thread
... since it seems it can block for a couple of seconds.
2022-05-04 15:21:07 +02:00
Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉 2022-05-02 22:07:53 +02:00
Héctor Ramón Jiménez
e7d595c7de
Write documentation for iced_pure 2022-05-02 20:16:00 +02:00
Héctor Ramón Jiménez
68e9eb0a9b
Fix broken intra-doc links in documentation 2022-04-30 14:20:52 +02:00
Héctor Ramón Jiménez
ac35fe3edf
Point repository links to 0.4 branch in documentation 2022-04-30 13:54:07 +02:00
Richard
5eefa5d4ea Simplify the QueryInformation Action 2022-04-27 17:16:32 -03:00
Cory Forsstrom
d562c27e8c Restrict text width & height to prevent overflow 2022-04-27 09:24:04 -07:00
Cory Forsstrom
bc8b4bb182 Manually center top aligned text 2022-04-27 08:56:43 -07:00
Cory Forsstrom
4329f0480b Use top alignment instead of new layer 2022-04-27 08:49:55 -07:00
Richard
c9ea1f11de Add memory usage to Information struct 2022-04-26 18:59:08 -03:00
Richard
5356bb9bdb Add graphics information to system::Information 2022-04-26 18:58:50 -03:00
Richard
53538b65b1 Add system_information example 2022-04-26 18:57:00 -03:00
Richard
c2f45a192f Turn Information fields pub 2022-04-26 18:55:48 -03:00
Richard
69781499cb Introduce QueryInformation to system::Action 2022-04-26 18:54:23 -03:00
Richard
fed8da1c90 Add new System variant to Action 2022-04-26 18:54:07 -03:00
Cory Forsstrom
6e70d9ad83 Clip bounds to prevent text overflow 2022-04-25 09:01:04 -07:00
Cory Forsstrom
83171f05d0 Don't wrap picklist label text 2022-04-25 08:52:10 -07:00
Héctor Ramón Jiménez
e33f43af31
Reuse Tooltip draw logic in iced_pure 2022-04-24 20:45:43 +07:00
Casper Rogild Storm
5d67f9988c
Implemented Tooltip as Pure 2022-04-22 13:35:53 +02:00
MG_REX
c0e10f2e9d
Fix slider's handle position calculation 2022-03-29 18:49:08 +07:00
Héctor Ramón
13a2997deb
Merge pull request #1294 from marienz/pure-overlay
Forward overlay() calls in iced_pure::element::Map
2022-03-29 18:41:02 +07:00
Héctor Ramón Jiménez
d9d6dff550
Loose lifetime bounds in pure::Widget implementations 2022-03-29 18:24:17 +07:00
Héctor Ramón Jiménez
f6700000a2
Fix KeyPressed event being always Captured by TextInput 2022-03-28 19:20:40 +07:00
Héctor Ramón Jiménez
497a3ca8ab
Restore TextInput::draw helper
This helper should be unnecessary in the future.
2022-03-18 22:22:19 +07:00
Héctor Ramón Jiménez
6dd187ff08
Implement pure version of PaneGrid widget 2022-03-14 17:44:25 +07:00
Héctor Ramón Jiménez
0fbd1d98b5
Implement pure version of Rule widget 2022-03-10 16:58:55 +07:00
Héctor Ramón Jiménez
12c1a3f829
Remove redundant widget modules in subcrates
Instead, we can define the type aliases just once in the root crate!
2022-03-09 14:10:15 +07:00
Héctor Ramón Jiménez
fbbb864aaa
Merge branch 'master' into virtual-widgets 2022-03-07 15:36:09 +07:00
Héctor Ramón Jiménez
c35496d80f
Merge branch 'master' into virtual-widgets 2022-03-07 15:29:43 +07:00
Héctor Ramón Jiménez
f85b421ae7
Fix overlay flickering after Application::update 2022-03-01 14:02:46 +07:00
Héctor Ramón Jiménez
1313c94e3b
Remove hash_layout method from Widget trait 2022-02-23 21:31:54 +07:00
Héctor Ramón Jiménez
15b4bbd49d
Hash content_fit in hash_layout of Image and Svg 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
8d94cd4c5c
Remove redundant layout.bounds() calls in Image and Svg 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
83c0e0f7a8
Add ContentFit support to Svg widget 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
6822d1d9f2
Center Image inside available bounds when possible 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
0aff444941
Rename Image::fit to content_fit
... just for consistency!
2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
8b5c9dfa71
Make documentation of Image::fit consistent 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
395eacfc10
Use a new clipping layer only when necessary in Image::draw 2022-02-16 18:19:36 +07:00
Emi Simpson
ca1fcdaf14
Add support for ContentFit for Image 2022-02-16 18:19:33 +07:00
Héctor Ramón Jiménez
019af8ddbf
Add overlay support in iced_pure and port PickList 🎉 2022-02-16 17:07:25 +07:00
Héctor Ramón Jiménez
53f3820432
Implement Radio in iced_pure 2022-02-13 22:13:47 +07:00
Héctor Ramón Jiménez
98750782f3
Introduce lifetime to on_change handler for Toggler 2022-02-13 19:23:15 +07:00
Héctor Ramón Jiménez
3f1a45ca47
Implement Slider in iced_pure 2022-02-13 17:20:10 +07:00