mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:17:44 +00:00
FontEditor: Correct GroupBox height
Font Metadata's GroupBox height was off by an _unsightly_ 2 pixels. Now we make heights explicit for all child widgets and let shrink_to_fit automatically calculate things.
This commit is contained in:
parent
24bd2a427c
commit
7d7f683715
1 changed files with 15 additions and 1 deletions
|
@ -77,13 +77,15 @@
|
|||
@GUI::GroupBox {
|
||||
name: "font_metadata_groupbox"
|
||||
title: "Metadata"
|
||||
fixed_height: 220
|
||||
shrink_to_fit: true
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [6, 6, 6, 6]
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 22
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
|
@ -100,6 +102,8 @@
|
|||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 22
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
|
@ -116,6 +120,8 @@
|
|||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 22
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
|
@ -133,6 +139,8 @@
|
|||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 22
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
|
@ -150,6 +158,8 @@
|
|||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 22
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
|
@ -168,6 +178,8 @@
|
|||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 22
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
|
@ -185,6 +197,8 @@
|
|||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fixed_height: 22
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue