summaryrefslogtreecommitdiff
path: root/src/gui/widgets/radiobutton.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-12 21:56:26 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-13 01:07:02 +0200
commiteb201e566677f5ae55d1c443aa4254b99cec9e3e (patch)
treed88bb3a1efb486b276a7c1929986dd223e0ba69d /src/gui/widgets/radiobutton.cpp
parentbb030b5e646c0cd3fd973a412d0b875049e8e98e (diff)
downloadplus-eb201e566677f5ae55d1c443aa4254b99cec9e3e.tar.gz
plus-eb201e566677f5ae55d1c443aa4254b99cec9e3e.tar.bz2
plus-eb201e566677f5ae55d1c443aa4254b99cec9e3e.tar.xz
plus-eb201e566677f5ae55d1c443aa4254b99cec9e3e.zip
Add inventory sorting.
Diffstat (limited to 'src/gui/widgets/radiobutton.cpp')
-rw-r--r--src/gui/widgets/radiobutton.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/radiobutton.cpp b/src/gui/widgets/radiobutton.cpp
index c9738e3cd..9683a11a8 100644
--- a/src/gui/widgets/radiobutton.cpp
+++ b/src/gui/widgets/radiobutton.cpp
@@ -148,7 +148,8 @@ void RadioButton::draw(gcn::Graphics* graphics)
graphics->setColor(getForegroundColor());
int h = getHeight() + getHeight() / 2;
- graphics->drawText(getCaption(), h - 2, 0);
+// graphics->drawText(getCaption(), h - 2, 0);
+ graphics->drawText(getCaption(), 16, 0);
}
void RadioButton::mouseEntered(gcn::MouseEvent& event _UNUSED_)