mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:38:12 +00:00
About+LibGUI: Use a GBoxLayout for the About app.
This commit is contained in:
parent
eac3a6ad52
commit
b8f999cbef
3 changed files with 38 additions and 14 deletions
|
@ -62,6 +62,12 @@ public:
|
|||
m_size = size;
|
||||
}
|
||||
|
||||
void set_size(int width, int height)
|
||||
{
|
||||
m_size.set_width(width);
|
||||
m_size.set_height(height);
|
||||
}
|
||||
|
||||
void inflate(int w, int h)
|
||||
{
|
||||
set_x(x() - w / 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue