mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Calculator: Improve UI margin consistency
This commit is contained in:
parent
411622148a
commit
55c0307288
Notes:
sideshowbarker
2024-07-18 08:00:44 +09:00
Author: https://github.com/frhun Commit: https://github.com/SerenityOS/serenity/commit/55c0307288c Pull-request: https://github.com/SerenityOS/serenity/pull/9044
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
@GUI::Widget {
|
||||
fixed_width: 254
|
||||
fixed_width: 250
|
||||
fixed_height: 215
|
||||
fill_with_background_color: true
|
||||
layout: @GUI::VerticalBoxLayout
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [10, 2, 10, 0]
|
||||
margins: [8, 8, 8, 8]
|
||||
}
|
||||
|
||||
@GUI::TextBox {
|
||||
|
|
|
@ -42,7 +42,7 @@ int main(int argc, char** argv)
|
|||
auto window = GUI::Window::construct();
|
||||
window->set_title("Calculator");
|
||||
window->set_resizable(false);
|
||||
window->resize(254, 215);
|
||||
window->resize(250, 215);
|
||||
|
||||
auto& widget = window->set_main_widget<CalculatorWidget>();
|
||||
|
||||
|
|
Loading…
Reference in a new issue