Merge pull request #1266 from SaptakS/fix-macos-layout

Fixes macOS layout while maintaining similar layout in linux
This commit is contained in:
Micah Lee 2021-02-01 20:13:41 -08:00 committed by GitHub
commit 6337f7cd86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -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 {

View File

@ -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):