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

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