Rename *_space to space_x and space_y

This commit is contained in:
Héctor Ramón Jiménez 2025-09-11 07:10:53 +02:00
parent c684fbd6af
commit 89b7585465
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
22 changed files with 92 additions and 113 deletions

View file

@ -1,4 +1,4 @@
use iced::widget::{column, pick_list, scrollable, vertical_space};
use iced::widget::{column, pick_list, scrollable, space_y};
use iced::{Center, Element, Fill};
pub fn main() -> iced::Result {
@ -33,10 +33,10 @@ impl Example {
.placeholder("Choose a language...");
let content = column![
vertical_space().height(600),
space_y().height(600),
"Which is your favorite language?",
pick_list,
vertical_space().height(600),
space_y().height(600),
]
.width(Fill)
.align_x(Center)