Rename space_{x,y} to space::{horizontal,vertical}

This commit is contained in:
Héctor Ramón Jiménez 2025-09-17 23:49:01 +02:00
parent 299eb54d6f
commit 611f89fc59
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
25 changed files with 143 additions and 142 deletions

View file

@ -1,4 +1,4 @@
use iced::widget::{center, column, combo_box, scrollable, space_y, text};
use iced::widget::{center, column, combo_box, scrollable, space, text};
use iced::{Center, Element, Fill};
pub fn main() -> iced::Result {
@ -60,7 +60,7 @@ impl Example {
text(&self.text),
"What is your language?",
combo_box,
space_y().height(150),
space().height(150),
]
.width(Fill)
.align_x(Center)