diff options
author | Jacek Antonelli | 2008-08-15 23:45:29 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:29 -0500 |
commit | 7bdb4845afdd157f95281293803567090e3f992a (patch) | |
tree | fbcada1c227d7407f9f37ccba360bfe6326d9c5e /linden/indra/newview/lltoolbar.cpp | |
parent | Second Life viewer sources 1.19.0.0 (diff) | |
download | meta-impy-7bdb4845afdd157f95281293803567090e3f992a.zip meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.gz meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.bz2 meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.xz |
Second Life viewer sources 1.19.0.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lltoolbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/lltoolbar.cpp b/linden/indra/newview/lltoolbar.cpp index e3aa9a3..4120c2d 100644 --- a/linden/indra/newview/lltoolbar.cpp +++ b/linden/indra/newview/lltoolbar.cpp | |||
@@ -279,7 +279,7 @@ void LLToolBar::layoutButtons() | |||
279 | 279 | ||
280 | // We actually want to extend "pad" pixels off the right edge of the | 280 | // We actually want to extend "pad" pixels off the right edge of the |
281 | // screen, such that the rightmost button is aligned. | 281 | // screen, such that the rightmost button is aligned. |
282 | S32 segment_width = llround((F32)(width) / ((F32)count - 1.f)); | 282 | S32 segment_width = llround((F32)(width) / ((F32)count - 1.f)); // ignore chat button |
283 | S32 btn_width = segment_width - pad; | 283 | S32 btn_width = segment_width - pad; |
284 | 284 | ||
285 | // Evenly space all views | 285 | // Evenly space all views |
@@ -314,7 +314,7 @@ void LLToolBar::layoutButtons() | |||
314 | btn_view->reshape(r.getWidth(), r.getHeight()); | 314 | btn_view->reshape(r.getWidth(), r.getHeight()); |
315 | i--; | 315 | i--; |
316 | } | 316 | } |
317 | } | 317 | } |
318 | } | 318 | } |
319 | 319 | ||
320 | 320 | ||