diff options
author | Andrew Polunin <apolunin@productengine.com> | 2009-12-30 16:19:48 +0200 |
---|---|---|
committer | Andrew Polunin <apolunin@productengine.com> | 2009-12-30 16:19:48 +0200 |
commit | c8294f2ad7b96058a3334d6b9655f3391a1da702 (patch) | |
tree | cf1d05af9e4165d9e7d5837b507a5be5fe73fa29 /indra | |
parent | 2e8e7b93362555f00f124eb005491133554cc2e5 (diff) |
fixed normal bug (EXT-3731) Favorites Bar spaced too tightly (side effect was fixed)
--HG--
branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfavoritesbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfavoritesbar.cpp b/indra/newview/llfavoritesbar.cpp index ee33c189f9..6ae6b4877a 100644 --- a/indra/newview/llfavoritesbar.cpp +++ b/indra/newview/llfavoritesbar.cpp @@ -773,9 +773,9 @@ LLButton* LLFavoritesBarCtrl::createButton(const LLPointer<LLViewerInventoryItem * WORKAROUND: * there are some problem with displaying of fonts in buttons. * Empty space (or ...) is displaying instead of last symbols, even though the width of the button is enough. - * Problem will gone, if we stretch out the button. For that reason I have to put additional 10 pixels. + * Problem will gone, if we stretch out the button. For that reason I have to put additional 20 pixels. */ - int requred_width = mFont->getWidth(item->getDisplayName()) + 10; + int requred_width = mFont->getWidth(item->getDisplayName()) + 20; int width = requred_width > def_button_width? def_button_width : requred_width; LLFavoriteLandmarkButton* fav_btn = NULL; |