summaryrefslogtreecommitdiffstats
path: root/examples/vectorial_text
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-15 02:08:22 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-02-15 02:08:22 +0100
commite8049af23dbf4988ff24b75b90104295f61098a2 (patch)
tree21840d4799c0645d9572af6d44c58bd7be117a39 /examples/vectorial_text
parent9dd20ead085ff3b9b4bd441b5e4938cf8e813f35 (diff)
downloadiced-e8049af23dbf4988ff24b75b90104295f61098a2.tar.gz
iced-e8049af23dbf4988ff24b75b90104295f61098a2.tar.bz2
iced-e8049af23dbf4988ff24b75b90104295f61098a2.zip
Make `horizontal_space` and `vertical_space` fill by default
Diffstat (limited to 'examples/vectorial_text')
-rw-r--r--examples/vectorial_text/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vectorial_text/src/main.rs b/examples/vectorial_text/src/main.rs
index c2212b22..0b9ea938 100644
--- a/examples/vectorial_text/src/main.rs
+++ b/examples/vectorial_text/src/main.rs
@@ -64,7 +64,7 @@ impl Sandbox for VectorialText {
column![
row![
text(label),
- horizontal_space(Length::Fill),
+ horizontal_space(),
text(format!("{:.2}", value))
],
slider(range, value, message).step(0.01)