mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-13 16:45:52 -04:00
resort to static height, to put the scrollbar in the right place
This commit is contained in:
parent
4c80591cc0
commit
9ff94d3ca4
3 changed files with 4 additions and 16 deletions
|
@ -17,11 +17,10 @@ class Window(QWebView):
|
|||
def __init__(self, basename, webapp_port):
|
||||
QWebView.__init__(self)
|
||||
self.setWindowTitle("{0} | OnionShare".format(basename))
|
||||
self.resize(550, 350)
|
||||
self.setMinimumSize(550, 300)
|
||||
self.setMaximumSize(550, 900)
|
||||
self.resize(580, 400)
|
||||
self.setMinimumSize(580, 400)
|
||||
self.setMaximumSize(580, 400)
|
||||
self.load(QUrl("http://127.0.0.1:{0}".format(webapp_port)))
|
||||
self.frame = self.page().currentFrame()
|
||||
|
||||
def alert(msg, icon=QMessageBox.NoIcon):
|
||||
dialog = QMessageBox()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue