1
Fork 0
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:
Andreas Kling 2019-03-09 21:09:29 +01:00
parent eac3a6ad52
commit b8f999cbef
3 changed files with 38 additions and 14 deletions

View file

@ -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);