cosmetic changes to ribbons and spinners
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
ea16856103
commit
35bb0035be
Binary file not shown.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 24 KiB |
@ -750,7 +750,7 @@ void RibbonGridWidget::add()
|
||||
// decide how many rows and column we can show in the available space
|
||||
int row_amount = (int)round((h-label_height) / (float)child_height);
|
||||
//if(row_amount < 2) row_amount = 2;
|
||||
//else if(row_amount > 5) row_amount = 5;
|
||||
if(row_amount > 4) row_amount = 4;
|
||||
const float row_height = (float)(h - label_height)/(float)row_amount;
|
||||
|
||||
// FIXME - that code seems to work but it's a bit obscure why
|
||||
|
Loading…
Reference in New Issue
Block a user