main
tag: v0.10.0
tag: v0.11.0
tag: v0.12.0
tag: v0.13.0
tag: v0.14.0
tag: v0.15.0
tag: v0.16.0
tag: v0.17.0
tag: v0.17.1
tag: v0.17.2
tag: v0.18.0
tag: v0.19.0
tag: v0.20.0
tag: v0.21.0
tag: v0.22.0
tag: v0.23.0
tag: v0.24.0
tag: v0.25.0
tag: v0.26.0
tag: v0.27.0
tag: v0.28.0
tag: v0.29.0
tag: v0.30.0
tag: v0.31.0
tag: v0.32.0
tag: v0.33.0
tag: v0.34.0
tag: v0.35.0
tag: v0.36.0
tag: v0.37.0
tag: v0.38.0
tag: v0.39.0
tag: v0.4.0
tag: v0.4.1
tag: v0.40.0
tag: v0.41.0
tag: v0.42.0
tag: v0.42.1
tag: v0.43.0
tag: v0.44.0
tag: v0.45.0
tag: v0.46.0
tag: v0.46.1
tag: v0.5.0
tag: v0.5.2
tag: v0.6.0
tag: v0.7.0
tag: v0.8.0
tag: v0.9.0
Files
Commits
Tags
Notes
Issues
0.8.0: take makeover-layout 0.11, and where a file field lands
2 files changed,
+11 insertions,
-2 deletions
1
1
[package]
2
2
name = "makeover-immediate"
3
-
version = "0.7.0"
3
+
version = "0.8.0"
4
4
edition = "2024"
5
5
description = "The immediate-mode renderer for makeover-layout. Immediate mode is the constraint that matters, not the library: no cascade, no retained tree, one stroke per widget. Backed by egui."
6
6
license = "MIT"
8
8
9
9
[dependencies]
10
10
egui = { version = "0.35", default-features = false }
11
-
makeover-layout = "0.10"
11
+
makeover-layout = "0.11"
12
12
13
13
[lints.rust]
14
14
unused = "warn"
361
361
/// The wildcard falls to [`Control::Typed`] on purpose: a kind added to the
362
362
/// description since this renderer was built degrades to a text box, which
363
363
/// accepts any value the others would, rather than to nothing drawn at all.
364
+
///
365
+
/// `FieldKind::File` lands there as of makeover-layout 0.11.0, and it is left
366
+
/// there rather than grown a shape of its own. egui's honest answer is a button
367
+
/// that opens a native picker, which is a fifth control and a file-dialog
368
+
/// dependency; no consumer of this crate asks for a file field yet. Same
369
+
/// position this crate took on `Meter` at 0.10.0: the membership test is that
370
+
/// every renderer *could* answer honestly, not that each one does on the day.
371
+
/// A path in a text box is not nothing, and it is what an app that needs this
372
+
/// tomorrow gets today.
364
373
const fn control_shape(kind: FieldKind) -> Control {
365
374
match kind {
366
375
FieldKind::Select => Control::Chosen,