minor ui fixes
This commit is contained in:
parent
41de315496
commit
8809ef1f6e
@ -26,6 +26,7 @@ class CreateGroupScreen(CenteredWidget):
|
|||||||
self.addGroupButton.setText(util_ui.tr('Create group'))
|
self.addGroupButton.setText(util_ui.tr('Create group'))
|
||||||
self.groupTypeComboBox.addItem(util_ui.tr('Public'))
|
self.groupTypeComboBox.addItem(util_ui.tr('Public'))
|
||||||
self.groupTypeComboBox.addItem(util_ui.tr('Private'))
|
self.groupTypeComboBox.addItem(util_ui.tr('Private'))
|
||||||
|
self.groupTypeComboBox.setCurrentIndex(1)
|
||||||
|
|
||||||
def _create_group(self):
|
def _create_group(self):
|
||||||
name = self.groupNameLineEdit.text()
|
name = self.groupNameLineEdit.text()
|
||||||
|
@ -49,7 +49,7 @@ class LoginScreen(CenteredWidget, DialogWithResult):
|
|||||||
|
|
||||||
def _update_ui(self):
|
def _update_ui(self):
|
||||||
self.profileNameLineEdit = LineEditWithEnterSupport(self._create_profile, 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._retranslate_ui()
|
||||||
self.createProfilePushButton.clicked.connect(self._create_profile)
|
self.createProfilePushButton.clicked.connect(self._create_profile)
|
||||||
self.loadProfilePushButton.clicked.connect(self._load_existing_profile)
|
self.loadProfilePushButton.clicked.connect(self._load_existing_profile)
|
||||||
|
@ -67,9 +67,9 @@
|
|||||||
<widget class="QPushButton" name="createProfilePushButton">
|
<widget class="QPushButton" name="createProfilePushButton">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>20</x>
|
<x>10</x>
|
||||||
<y>110</y>
|
<y>110</y>
|
||||||
<width>150</width>
|
<width>160</width>
|
||||||
<height>27</height>
|
<height>27</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -119,9 +119,9 @@
|
|||||||
<widget class="QPushButton" name="loadProfilePushButton">
|
<widget class="QPushButton" name="loadProfilePushButton">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>20</x>
|
<x>10</x>
|
||||||
<y>110</y>
|
<y>110</y>
|
||||||
<width>150</width>
|
<width>160</width>
|
||||||
<height>27</height>
|
<height>27</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user