From fc90d78e179fbc8b1c87a64e49eabffda19fb871 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 9 Feb 2016 23:57:15 +0100 Subject: gui: scale properly on high-DPI screens Previously high DPI made the main screen all out of whack, unreadable and unusable. --- gui/images/no-feed.png | Bin 4471 -> 4145 bytes gui/main.ui | 375 +++++++++++++++++++++++++++---------------------- 2 files changed, 207 insertions(+), 168 deletions(-) (limited to 'gui') diff --git a/gui/images/no-feed.png b/gui/images/no-feed.png index 02aa227a..80c68f16 100644 Binary files a/gui/images/no-feed.png and b/gui/images/no-feed.png differ diff --git a/gui/main.ui b/gui/main.ui index 689c4c23..3a034ab0 100644 --- a/gui/main.ui +++ b/gui/main.ui @@ -7,8 +7,8 @@ 0 0 - 646 - 492 + 652 + 498 @@ -72,7 +72,7 @@ - + 0 0 @@ -159,7 +159,7 @@ :/images/no-feed.png - true + false @@ -853,168 +853,6 @@ 6 - - - - - 4 - 0 - - - - QFrame::NoFrame - - - QFrame::Raised - - - - 2 - - - 3 - - - 2 - - - 3 - - - 8 - - - - - Tracker - - - - 4 - - - 0 - - - 4 - - - 0 - - - 3 - - - 0 - - - - - - - - true - - - ... - - - false - - - - - - - - - - Protocol - - - - 4 - - - 0 - - - 4 - - - 0 - - - 3 - - - 0 - - - - - - - - true - - - ... - - - false - - - - - - - - - - Filter - - - - 4 - - - 0 - - - 4 - - - 0 - - - 3 - - - 0 - - - - - - - - true - - - ... - - - false - - - - - - - - - @@ -1165,7 +1003,7 @@ - + 0 0 @@ -1181,7 +1019,7 @@ false - + 0 0 @@ -1197,6 +1035,207 @@ + + + + + 4 + 0 + + + + QFrame::NoFrame + + + QFrame::Raised + + + + 2 + + + 3 + + + 2 + + + 3 + + + 8 + + + + + Tracker + + + + 4 + + + 0 + + + 4 + + + 0 + + + 3 + + + 0 + + + + + + 0 + 0 + + + + + + + + true + + + + 0 + 0 + + + + ... + + + false + + + + + + + + + + Protocol + + + + 4 + + + 0 + + + 4 + + + 0 + + + 3 + + + 0 + + + + + + 0 + 0 + + + + + + + + true + + + + 0 + 0 + + + + ... + + + false + + + + + + + + + + Filter + + + + 4 + + + 0 + + + 4 + + + 0 + + + 3 + + + 0 + + + + + + 0 + 0 + + + + + + + + true + + + + 0 + 0 + + + + ... + + + false + + + + + + + + + -- cgit v1.2.3