mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 00:39:37 -05:00
Start with a narrower width
This commit is contained in:
parent
8f77603182
commit
a1aa25c792
@ -56,7 +56,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
||||
|
||||
self.setWindowTitle('OnionShare')
|
||||
self.setWindowIcon(QtGui.QIcon(common.get_resource_path('images/logo.png')))
|
||||
self.setMinimumWidth(500)
|
||||
self.setMinimumWidth(350)
|
||||
|
||||
# Load settings
|
||||
self.config = config
|
||||
@ -170,7 +170,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
||||
|
||||
def update_primary_action(self):
|
||||
# Resize window
|
||||
self.resize(self.sizeHint())
|
||||
self.adjustSize()
|
||||
|
||||
# Show or hide primary action layout
|
||||
if self.file_selection.file_list.count() > 0:
|
||||
|
Loading…
Reference in New Issue
Block a user