From c19416abdd6b087ab7e9b1fd8a5515d22e4d7776 Mon Sep 17 00:00:00 2001 From: ChristianVisintin Date: Tue, 1 Dec 2020 16:03:48 +0100 Subject: [PATCH] Layout error 50% width --- src/ui/activities/filetransfer_activity/layout.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/activities/filetransfer_activity/layout.rs b/src/ui/activities/filetransfer_activity/layout.rs index 856ab23..b022e01 100644 --- a/src/ui/activities/filetransfer_activity/layout.rs +++ b/src/ui/activities/filetransfer_activity/layout.rs @@ -88,8 +88,8 @@ impl FileTransferActivity { if let InputMode::Popup(popup) = &self.input_mode { // Calculate popup size let (width, height): (u16, u16) = match popup { - PopupType::Alert(_, _) => (30, 10), - PopupType::Fatal(_) => (30, 10), + PopupType::Alert(_, _) => (50, 10), + PopupType::Fatal(_) => (50, 10), PopupType::Help => (50, 70), PopupType::Input(_, _) => (30, 10), PopupType::Progress(_) => (40, 10),