Skip to content

Commit 7f401fa

Browse files
author
arch
committed
change default ui size
1 parent a0ac0c1 commit 7f401fa

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

funscript_editor/config/ui.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ui configuration
22

3-
vertical_stretch_factor: [1, 8]
3+
vertical_stretch_factor: [1, 12]
44
horizontal_stretch_factor: [40, 1]
55

66
autosave_in_sec: 30

funscript_editor/ui/funscript_editor_view.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
class Ui_MainWindow(object):
1515
def setupUi(self, MainWindow):
1616
MainWindow.setObjectName("MainWindow")
17-
MainWindow.resize(959, 834)
17+
MainWindow.resize(1600, 1000)
18+
MainWindow.setMinimumSize(QtCore.QSize(1600, 1000))
1819
icon = QtGui.QIcon()
1920
icon.addPixmap(QtGui.QPixmap("icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
2021
MainWindow.setWindowIcon(icon)
@@ -200,7 +201,7 @@ def setupUi(self, MainWindow):
200201
self.mainLayout.addWidget(self.splitterVertical)
201202
MainWindow.setCentralWidget(self.centralwidget)
202203
self.menubar = QtWidgets.QMenuBar(MainWindow)
203-
self.menubar.setGeometry(QtCore.QRect(0, 0, 959, 34))
204+
self.menubar.setGeometry(QtCore.QRect(0, 0, 1600, 34))
204205
self.menubar.setObjectName("menubar")
205206
self.menuFile = QtWidgets.QMenu(self.menubar)
206207
self.menuFile.setObjectName("menuFile")

funscript_editor/ui/funscript_editor_view.ui

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>959</width>
10-
<height>834</height>
9+
<width>1600</width>
10+
<height>1000</height>
1111
</rect>
1212
</property>
13+
<property name="minimumSize">
14+
<size>
15+
<width>1600</width>
16+
<height>1000</height>
17+
</size>
18+
</property>
1319
<property name="windowTitle">
1420
<string>Video Player with Signal</string>
1521
</property>
@@ -409,7 +415,7 @@
409415
<rect>
410416
<x>0</x>
411417
<y>0</y>
412-
<width>959</width>
418+
<width>1600</width>
413419
<height>34</height>
414420
</rect>
415421
</property>

0 commit comments

Comments
 (0)