Skip to content

Commit

Permalink
try left align
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Nov 24, 2020
1 parent 0ce5c60 commit fb51d33
Showing 1 changed file with 18 additions and 21 deletions.
39 changes: 18 additions & 21 deletions src/lib/registration/ui/base_system_registration_dialog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,26 +175,25 @@ def back_handler
# content for the main registration dialog
# @return [Yast::Term] UI term
def content
VBox(
network_button,
VStretch(),
product_details_widgets,
VSpacing(Yast::UI.TextMode ? 1 : 0),
registration_widgets,
VStretch()
Left(
VBox(
network_button,
VStretch(),
product_details_widgets,
registration_widgets,
VStretch()
)
)
end

def registration_widgets
HSquash(
HBox(
RadioButtonGroup(
Id(:action),
VBox(
register_scc_option,
register_local_option,
skip_option
)
HBox(
RadioButtonGroup(
Id(:action),
VBox(
register_scc_option,
register_local_option,
skip_option
)
)
)
Expand Down Expand Up @@ -341,11 +340,9 @@ def product_details_widgets
Label(_("Please select your preferred method of registration."))
end

HSquash(
VBox(
Left(Heading(SwMgmt.product_label(SwMgmt.find_base_product))),
label
)
VBox(
Left(Heading(SwMgmt.product_label(SwMgmt.find_base_product))),
Left(label)
)
end

Expand Down

0 comments on commit fb51d33

Please sign in to comment.