summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-01 23:13:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-02 00:55:47 +0300
commit209fdbeaf69176fdab23604e820a73103e66776d (patch)
tree70cb2c329035dcca2024c632b17620e823d50076 /src/gui/theme.cpp
parent721e1aa49134fb55241728528256b8662a5bb160 (diff)
downloadmanaplus-209fdbeaf69176fdab23604e820a73103e66776d.tar.gz
manaplus-209fdbeaf69176fdab23604e820a73103e66776d.tar.bz2
manaplus-209fdbeaf69176fdab23604e820a73103e66776d.tar.xz
manaplus-209fdbeaf69176fdab23604e820a73103e66776d.zip
Fix tilebar padding with different font sizes.
Fix paddings in outfits window.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp4
1 files changed, 2 insertions, 2 deletions
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")
{