Skip to content

Commit

Permalink
Server: Update GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
goldarte committed Nov 1, 2019
1 parent 0beb6ca commit 1053ffe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Server/server_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1220, 761)
MainWindow.resize(1360, 761)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setEnabled(True)
self.centralwidget.setObjectName("centralwidget")
Expand All @@ -35,9 +35,10 @@ def setupUi(self, MainWindow):
self.tableView.setWordWrap(True)
self.tableView.setObjectName("tableView")
self.tableView.horizontalHeader().setCascadingSectionResizes(False)
self.tableView.horizontalHeader().setDefaultSectionSize(125)
self.tableView.horizontalHeader().setDefaultSectionSize(50)
self.tableView.horizontalHeader().setMinimumSectionSize(50)
self.tableView.horizontalHeader().setStretchLastSection(True)
self.tableView.verticalHeader().setVisible(False)
self.horizontalLayout.addWidget(self.tableView)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SetMaximumSize)
Expand Down Expand Up @@ -186,7 +187,7 @@ def setupUi(self, MainWindow):
self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1220, 25))
self.menubar.setGeometry(QtCore.QRect(0, 0, 1360, 25))
self.menubar.setObjectName("menubar")
self.menuOptions = QtWidgets.QMenu(self.menubar)
self.menuOptions.setObjectName("menuOptions")
Expand Down
9 changes: 6 additions & 3 deletions Server/server_gui.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1220</width>
<width>1360</width>
<height>761</height>
</rect>
</property>
Expand Down Expand Up @@ -50,14 +50,17 @@
<bool>false</bool>
</attribute>
<attribute name="horizontalHeaderDefaultSectionSize">
<number>125</number>
<number>50</number>
</attribute>
<attribute name="horizontalHeaderMinimumSectionSize">
<number>50</number>
</attribute>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
<item>
Expand Down Expand Up @@ -375,7 +378,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1220</width>
<width>1360</width>
<height>25</height>
</rect>
</property>
Expand Down

0 comments on commit 1053ffe

Please sign in to comment.