Fixed layout issues
This commit is contained in:
parent
4ebb5db903
commit
79af4b3884
1 changed files with 5 additions and 7 deletions
|
@ -3244,7 +3244,7 @@ class ScreenPage(Page):
|
|||
self.update_status = main_window
|
||||
self.selected_dimentions_icon = None
|
||||
self.button_back.setVisible(True)
|
||||
self.title.setGeometry(585, 40, 185, 40); self.title.setText("Pick a Resolution")
|
||||
self.title.setGeometry(585, 40, 200, 40); self.title.setText("Pick a Resolution")
|
||||
self.display.setGeometry(QtCore.QRect(5, 50, 580, 435))#relacion 4:3
|
||||
|
||||
|
||||
|
@ -5405,7 +5405,7 @@ class SyncScreen(Page):
|
|||
start_y = 90
|
||||
button_width = 185
|
||||
button_height = 75
|
||||
h_spacing = 20
|
||||
h_spacing = 10
|
||||
v_spacing = 105
|
||||
|
||||
for i in range(num_items):
|
||||
|
@ -5608,7 +5608,6 @@ class CurrencySelectionPage(Page):
|
|||
self.create_interface_elements()
|
||||
self.button_reverse.setVisible(True)
|
||||
self.button_next.setVisible(False)
|
||||
self.button_next.clicked.connect(self.go_next)
|
||||
|
||||
def create_interface_elements(self):
|
||||
self.title = QLabel("Payment Method", self)
|
||||
|
@ -5637,9 +5636,6 @@ class CurrencySelectionPage(Page):
|
|||
button.clicked.connect(self.on_currency_selected)
|
||||
|
||||
def on_currency_selected(self):
|
||||
self.button_next.setVisible(True)
|
||||
|
||||
def go_next(self):
|
||||
payment_details_page = self.page_stack.findChild(PaymentDetailsPage)
|
||||
if payment_details_page:
|
||||
payment_details_page.selected_duration = self.selected_duration
|
||||
|
@ -5648,6 +5644,8 @@ class CurrencySelectionPage(Page):
|
|||
self.page_stack.setCurrentWidget(payment_details_page)
|
||||
self.update_status.update_status('Loading payment details...')
|
||||
|
||||
|
||||
|
||||
def get_selected_currency(self):
|
||||
selected_button = self.buttonGroup.checkedButton()
|
||||
if selected_button:
|
||||
|
|
Loading…
Reference in a new issue