minor ui fixes

This commit is contained in:
ingvar1995 2018-06-05 23:58:14 +03:00
parent 41de315496
commit 8809ef1f6e
3 changed files with 6 additions and 5 deletions

View File

@ -26,6 +26,7 @@ class CreateGroupScreen(CenteredWidget):
self.addGroupButton.setText(util_ui.tr('Create group'))
self.groupTypeComboBox.addItem(util_ui.tr('Public'))
self.groupTypeComboBox.addItem(util_ui.tr('Private'))
self.groupTypeComboBox.setCurrentIndex(1)
def _create_group(self):
name = self.groupNameLineEdit.text()

View File

@ -49,7 +49,7 @@ class LoginScreen(CenteredWidget, DialogWithResult):
def _update_ui(self):
self.profileNameLineEdit = LineEditWithEnterSupport(self._create_profile, self)
self.profileNameLineEdit.setGeometry(QtCore.QRect(20, 100, 170, 30))
self.profileNameLineEdit.setGeometry(QtCore.QRect(20, 100, 160, 30))
self._retranslate_ui()
self.createProfilePushButton.clicked.connect(self._create_profile)
self.loadProfilePushButton.clicked.connect(self._load_existing_profile)

View File

@ -67,9 +67,9 @@
<widget class="QPushButton" name="createProfilePushButton">
<property name="geometry">
<rect>
<x>20</x>
<x>10</x>
<y>110</y>
<width>150</width>
<width>160</width>
<height>27</height>
</rect>
</property>
@ -119,9 +119,9 @@
<widget class="QPushButton" name="loadProfilePushButton">
<property name="geometry">
<rect>
<x>20</x>
<x>10</x>
<y>110</y>
<width>150</width>
<width>160</width>
<height>27</height>
</rect>
</property>