Skip to content

Commit a07c1ea

Browse files
committed
fix: fixed the issue where the widgets after the widest label widget start a few pixels before they do in other horizontal widgets
1 parent 3092d46 commit a07c1ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,8 @@ impl eframe::App for AV1Studio {
701701
max_width = max_width.max(label_width);
702702
if label_width < max_width {
703703
ui.allocate_space(egui::vec2(max_width - label_width, 1.0));
704+
} else {
705+
ui.allocate_space(egui::vec2(0.5, 1.0));
704706
}
705707
// ui.label(":");
706708
ui.text_edit_singleline(&mut self.custom_encode_params);

0 commit comments

Comments
 (0)