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

@ -24,7 +24,7 @@ use crate::runtime::task::{self, Task};
use crate::time_machine::TimeMachine;
use crate::widget::{
bottom_right, button, center, column, container, opaque, row, scrollable,
space_x, stack, text, themer,
space, stack, text, themer,
};
use std::fmt;
@ -447,7 +447,7 @@ where
.width(100)
.on_press(Message::CancelSetup)
.style(button::danger),
space_x(),
space::horizontal(),
button(
text(match goal {
Goal::Installation => "Install",
@ -497,13 +497,13 @@ where
let comparison = column![
row![
"Installed revision:",
space_x(),
space::horizontal(),
inline_code(revision.as_deref().unwrap_or("Unknown"))
]
.align_y(Center),
row![
"Compatible revision:",
space_x(),
space::horizontal(),
inline_code(comet::COMPATIBLE_REVISION),
]
.align_y(Center)