summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2021-02-01 20:13:41 -0800
committerGitHub <noreply@github.com>2021-02-01 20:13:41 -0800
commit6337f7cd86cb88cf49d86a604cc28d3b56b49467 (patch)
treed79c33e13f5c09529ada44462ace4aeaf81aafe5
parent60686ac866c0008e34f670b29f0edb501a92228e (diff)
parentd8a0e7dbffa3d168aac32c45a011ac1798c8de7c (diff)
downloadonionshare-6337f7cd86cb88cf49d86a604cc28d3b56b49467.tar.gz
onionshare-6337f7cd86cb88cf49d86a604cc28d3b56b49467.zip
Merge pull request #1266 from SaptakS/fix-macos-layout
Fixes macOS layout while maintaining similar layout in linux
-rw-r--r--desktop/src/onionshare/gui_common.py2
-rw-r--r--desktop/src/onionshare/tab/mode/file_selection.py4
2 files changed, 2 insertions, 4 deletions
diff --git a/desktop/src/onionshare/gui_common.py b/desktop/src/onionshare/gui_common.py
index 7d367b99..4bf68bf8 100644
--- a/desktop/src/onionshare/gui_common.py
+++ b/desktop/src/onionshare/gui_common.py
@@ -292,12 +292,10 @@ class GuiCommon:
QLabel {
color: #4E064F;
font-size: 48px;
- margin-bottom: 72px;
}""",
"share_file_selection_drop_here_label": """
QLabel {
color: #666666;
- margin-bottom: 48px;
}""",
"share_file_selection_drop_count_label": """
QLabel {
diff --git a/desktop/src/onionshare/tab/mode/file_selection.py b/desktop/src/onionshare/tab/mode/file_selection.py
index 54d9ea83..fed4e4c5 100644
--- a/desktop/src/onionshare/tab/mode/file_selection.py
+++ b/desktop/src/onionshare/tab/mode/file_selection.py
@@ -72,8 +72,8 @@ class DropHereWidget(QtWidgets.QWidget):
def resize(self, w, h):
self.setGeometry(0, 0, w, h)
self.image_label.setGeometry(0, 0, w, h - 100)
- self.header_label.setGeometry(0, 340, w, h - 340)
- self.text_label.setGeometry(0, 410, w, h - 410)
+ self.header_label.setGeometry(0, 310, w, h - 380)
+ self.text_label.setGeometry(0, 360, w, h - 400)
class DropCountLabel(QtWidgets.QLabel):