Skip to content

Commit

Permalink
Implement scrolling to fix window sizing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kz26 committed Apr 20, 2019
1 parent a5b7b9a commit c207bd4
Show file tree
Hide file tree
Showing 5 changed files with 430 additions and 368 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

1.3.11
------
* [ENHANCEMENT/FIX] Main window area now scrolls to prevent overflow issues on lower-resolution screens

1.3.10
------
* [FIX] Add missing humanfriendly dependency
Expand Down
9 changes: 0 additions & 9 deletions dottorrentGUI/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,15 +557,6 @@ def main():
ui = DottorrentGUI()
ui.setupUi(MainWindow)

MainWindow.resize(500, 0)
MainWindow.setGeometry(
QtWidgets.QStyle.alignedRect(
QtCore.Qt.LeftToRight,
QtCore.Qt.AlignCenter,
MainWindow.size(),
app.desktop().availableGeometry()
)
)
MainWindow.setWindowTitle(PROGRAM_NAME_VERSION)

ui.loadSettings()
Expand Down
Loading

0 comments on commit c207bd4

Please sign in to comment.