mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 10:42:58 -03:00
Start with a narrower width
This commit is contained in:
parent
8f77603182
commit
a1aa25c792
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
||||||
|
|
||||||
self.setWindowTitle('OnionShare')
|
self.setWindowTitle('OnionShare')
|
||||||
self.setWindowIcon(QtGui.QIcon(common.get_resource_path('images/logo.png')))
|
self.setWindowIcon(QtGui.QIcon(common.get_resource_path('images/logo.png')))
|
||||||
self.setMinimumWidth(500)
|
self.setMinimumWidth(350)
|
||||||
|
|
||||||
# Load settings
|
# Load settings
|
||||||
self.config = config
|
self.config = config
|
||||||
|
@ -170,7 +170,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
||||||
|
|
||||||
def update_primary_action(self):
|
def update_primary_action(self):
|
||||||
# Resize window
|
# Resize window
|
||||||
self.resize(self.sizeHint())
|
self.adjustSize()
|
||||||
|
|
||||||
# Show or hide primary action layout
|
# Show or hide primary action layout
|
||||||
if self.file_selection.file_list.count() > 0:
|
if self.file_selection.file_list.count() > 0:
|
||||||
|
|
Loading…
Add table
Reference in a new issue