summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/graphics/gui/CMakeLists.txt1
-rw-r--r--data/graphics/gui/Makefile.am1
-rw-r--r--data/graphics/gui/onlinebrowserbox.xml8
-rw-r--r--data/themes/jewelry/CMakeLists.txt1
-rw-r--r--data/themes/jewelry/Makefile.am1
-rw-r--r--data/themes/jewelry/onlinebrowserbox.xml8
-rw-r--r--src/gui/windows/whoisonline.cpp2
7 files changed, 21 insertions, 1 deletions
diff --git a/data/graphics/gui/CMakeLists.txt b/data/graphics/gui/CMakeLists.txt
index de2a9b109..d14f544f3 100644
--- a/data/graphics/gui/CMakeLists.txt
+++ b/data/graphics/gui/CMakeLists.txt
@@ -41,6 +41,7 @@ SET (FILES
mouse.png
npc.xml
ok.xml
+ onlinebrowserbox.xml
outfits.xml
playerbox.xml
playerboxselected.xml
diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am
index 0b82339be..1e2315d09 100644
--- a/data/graphics/gui/Makefile.am
+++ b/data/graphics/gui/Makefile.am
@@ -44,6 +44,7 @@ gui_DATA = \
mouse.png \
npc.xml \
ok.xml \
+ onlinebrowserbox.xml \
outfits.xml \
playerbox.xml \
playerboxselected.xml \
diff --git a/data/graphics/gui/onlinebrowserbox.xml b/data/graphics/gui/onlinebrowserbox.xml
new file mode 100644
index 000000000..621be46f3
--- /dev/null
+++ b/data/graphics/gui/onlinebrowserbox.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ <option name="padding" value="1" />
+ <option name="newLinePadding" value="15" />
+ <option name="itemPadding" value="0" />
+ </widget>
+</skinset>
diff --git a/data/themes/jewelry/CMakeLists.txt b/data/themes/jewelry/CMakeLists.txt
index 89f3e31ea..1ddffb8f8 100644
--- a/data/themes/jewelry/CMakeLists.txt
+++ b/data/themes/jewelry/CMakeLists.txt
@@ -56,6 +56,7 @@ SET (FILES
mouse.png
npc.xml
ok.xml
+ onlinebrowserbox.xml
outfits.xml
playerbox.xml
playerboxselected.xml
diff --git a/data/themes/jewelry/Makefile.am b/data/themes/jewelry/Makefile.am
index 09b90e1f5..856c06d57 100644
--- a/data/themes/jewelry/Makefile.am
+++ b/data/themes/jewelry/Makefile.am
@@ -59,6 +59,7 @@ gui_DATA = \
mouse.png \
npc.xml \
ok.xml \
+ onlinebrowserbox.xml \
outfits.xml \
playerbox.xml \
playerboxselected.xml \
diff --git a/data/themes/jewelry/onlinebrowserbox.xml b/data/themes/jewelry/onlinebrowserbox.xml
new file mode 100644
index 000000000..403dd839f
--- /dev/null
+++ b/data/themes/jewelry/onlinebrowserbox.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<skinset name="Default" image="window.png">
+ <widget type="Window">
+ <option name="padding" value="4" />
+ <option name="newLinePadding" value="15" />
+ <option name="itemPadding" value="0" />
+ </widget>
+</skinset>
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index edff9b406..e06788a38 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -86,7 +86,7 @@ WhoIsOnline::WhoIsOnline() :
mMemoryBuffer(nullptr),
mCurlError(new char[CURL_ERROR_SIZE]),
mBrowserBox(new BrowserBox(this, BrowserBox::AUTO_SIZE, true,
- "browserbox.xml")),
+ "onlinebrowserbox.xml")),
mScrollArea(new ScrollArea(mBrowserBox, false)),
mUpdateTimer(0),
mOnlinePlayers(),