mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
Taskbar+LibGUI+WindowServer: Shrink taskbar by one pixel
Make the taskbar 27 pixels tall instead of 28. This makes the button icons and applets vertically centered. On a related note, this required touching *way* too many places..
This commit is contained in:
parent
fbe6c275c9
commit
9d8aa2a57a
5 changed files with 9 additions and 9 deletions
|
@ -101,7 +101,7 @@ void AppletManager::add_applet(Window& applet)
|
|||
void AppletManager::relayout()
|
||||
{
|
||||
constexpr int applet_spacing = 4;
|
||||
constexpr int applet_window_height = 20;
|
||||
constexpr int applet_window_height = 19;
|
||||
int total_width = 0;
|
||||
for (auto& existing_applet : m_applets) {
|
||||
total_width += max(0, existing_applet->size().width()) + applet_spacing;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue