diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-10 22:54:14 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-02-10 22:55:39 +0100 |
commit | 19db8d94d88db56dc9484cc85308906add21826d (patch) | |
tree | 0ff93aecbe78729bdc139cc539df93dc20ada980 /src/gui/itempopup.cpp | |
parent | 9f2a8799eea3d609a3863a7732ec280d83f12e47 (diff) | |
download | mana-19db8d94d88db56dc9484cc85308906add21826d.tar.gz mana-19db8d94d88db56dc9484cc85308906add21826d.tar.bz2 mana-19db8d94d88db56dc9484cc85308906add21826d.tar.xz mana-19db8d94d88db56dc9484cc85308906add21826d.zip |
Whitespace fixes
Mainly removed trailing whitespace. Also small fix in header of
recorder.cpp.
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r-- | src/gui/itempopup.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp index df7afa48..200679d1 100644 --- a/src/gui/itempopup.cpp +++ b/src/gui/itempopup.cpp @@ -108,7 +108,7 @@ void ItemPopup::setItem(const ItemInfo &item) mItemName->setWidth(boldFont->getWidth(item.getName())); mItemDesc->setTextWrapped(item.getDescription(), 196); mItemEffect->setTextWrapped(item.getEffect(), 196); - mItemWeight->setTextWrapped(_("Weight: ") + toString(item.getWeight()) + + mItemWeight->setTextWrapped(_("Weight: ") + toString(item.getWeight()) + _(" grams"), 196); int minWidth = mItemName->getWidth(); @@ -138,7 +138,7 @@ void ItemPopup::setItem(const ItemInfo &item) if (item.getEffect() == "") { - setContentSize(minWidth, (numRowsDesc * getFont()->getHeight() + + setContentSize(minWidth, (numRowsDesc * getFont()->getHeight() + (3 * getFont()->getHeight()))); mItemWeightScroll->setPosition(2, @@ -147,7 +147,7 @@ void ItemPopup::setItem(const ItemInfo &item) } else { - setContentSize(minWidth, (numRowsDesc * getFont()->getHeight()) + + setContentSize(minWidth, (numRowsDesc * getFont()->getHeight()) + (numRowsEffect * getFont()->getHeight()) + (3 * getFont()->getHeight())); |