1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:27:45 +00:00

DisplaySettings: Tweak UI, call it "1x/2x scale" instead of "100%/200%"

This commit is contained in:
Andreas Kling 2021-02-22 14:13:00 +01:00
parent b126ead34e
commit 42f582bf8b

View file

@ -73,21 +73,20 @@
@GUI::Label { @GUI::Label {
text: "Display scale:" text: "Display scale:"
text_alignment: "CenterLeft" text_alignment: "CenterLeft"
fixed_width: 75 fixed_width: 95
} }
@GUI::RadioButton { @GUI::RadioButton {
name: "scale_1x" name: "scale_1x"
text: "100%" text: "1x"
} }
@GUI::RadioButton { @GUI::RadioButton {
name: "scale_2x" name: "scale_2x"
text: "200%" text: "2x"
} }
} }
@GUI::Widget { @GUI::Widget {
shrink_to_fit: true shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout { layout: @GUI::HorizontalBoxLayout {
@ -119,19 +118,19 @@
@GUI::Button { @GUI::Button {
name: "ok_button" name: "ok_button"
text: "OK" text: "OK"
fixed_width: 60 fixed_width: 75
} }
@GUI::Button { @GUI::Button {
name: "cancel_button" name: "cancel_button"
text: "Cancel" text: "Cancel"
fixed_width: 60 fixed_width: 75
} }
@GUI::Button { @GUI::Button {
name: "apply_button" name: "apply_button"
text: "Apply" text: "Apply"
fixed_width: 60 fixed_width: 75
} }
} }
} }