Skip to content

Commit 5d88fb4

Browse files
committed
make settings row less cramped
1 parent 25b8f69 commit 5d88fb4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/settings.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::{get_data_dir, send_message, style, DialogSpec, Message, SharedSettin
44
use anyhow::{Context, Result};
55
use cp_r::CopyStats;
66
use iced::advanced::graphics::core::Element;
7-
use iced::widget::{combo_box, container, row, text, Text};
7+
use iced::widget::{combo_box, container, horizontal_space, row, text, Text};
88
use iced::{
99
widget::{button, Column, Container, Row},
1010
Length, Theme,
@@ -170,10 +170,9 @@ impl SettingsFrame {
170170
.push(
171171
Row::new()
172172
.push(Text::new(label))
173+
.push(horizontal_space())
173174
.push(
174-
container(content)
175-
.align_x(iced::alignment::Horizontal::Right)
176-
.width(Length::Fill),
175+
container(content).align_x(iced::alignment::Horizontal::Right), // .width(Length::Fill),
177176
)
178177
.align_y(Alignment::Center),
179178
)

0 commit comments

Comments
 (0)