From 99a3b648333e2a43ccdaaf41a42355a7be745309 Mon Sep 17 00:00:00 2001 From: ChristianVisintin Date: Mon, 14 Dec 2020 09:14:23 +0100 Subject: [PATCH] Explorer tabs have now 70% of layout height, while logging area is 30% --- CHANGELOG.md | 1 + src/ui/activities/filetransfer_activity/layout.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af31523..a53423d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ Released on 14/12/2020 - Enhancements: - File explorer: - Fixed color mismatch in local explorer + - Explorer tabs have now 70% of layout height, while logging area is 30% - Bugfix: - Fixed memory vulnerability in Windows version diff --git a/src/ui/activities/filetransfer_activity/layout.rs b/src/ui/activities/filetransfer_activity/layout.rs index 6277781..cde4b19 100644 --- a/src/ui/activities/filetransfer_activity/layout.rs +++ b/src/ui/activities/filetransfer_activity/layout.rs @@ -56,8 +56,8 @@ impl FileTransferActivity { .margin(1) .constraints( [ - Constraint::Length(20), // Explorer - Constraint::Length(16), // Log + Constraint::Percentage(70), // Explorer + Constraint::Percentage(30), // Log ] .as_ref(), )