From 209fdbeaf69176fdab23604e820a73103e66776d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 May 2013 23:13:02 +0300 Subject: Fix tilebar padding with different font sizes. Fix paddings in outfits window. --- src/gui/theme.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/theme.cpp') diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 565391ed9..860174efb 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -505,7 +505,7 @@ Skin *Theme::readSkin(const std::string &filename, const bool full) memset(images, 0, sizeof(ImageRect)); int padding = 3; int titlePadding = 4; - int titlebarHeight = 20; + int titlebarHeight = 0; int closePadding = 3; int stickySpacing = 3; int stickyPadding = 3; @@ -577,7 +577,7 @@ Skin *Theme::readSkin(const std::string &filename, const bool full) else if (name == "titlebarHeight") { titlebarHeight = XML::getProperty( - partNode, "value", 16); + partNode, "value", 0); } else if (name == "resizePadding") { -- cgit v1.2.3-70-g09d2