Skip to content

Commit

Permalink
Fixed dialing directory connect button size
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger committed Dec 22, 2024
1 parent 9ba297e commit 9443e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/icy_term/src/ui/dialogs/dialing_directory_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ pub fn view_dialing_directory(window: &mut MainWindow, ctx: &egui::Context) {
.into_galley(ui, Some(egui::TextWrapMode::Truncate), 1000., egui::TextStyle::Button)
.size();

ui.add_space(ui.available_size_before_wrap().x - connect_text_size.x - cancel_text_size.x - 8.);
ui.add_space(ui.available_size_before_wrap().x - connect_text_size.x - cancel_text_size.x - 22.);

let r: egui::Response = ui.add(egui::Button::new(fl!(crate::LANGUAGE_LOADER, "dialing_directory-cancel-button")));
if r.clicked() {
Expand Down

0 comments on commit 9443e00

Please sign in to comment.