Set max number of goals in better place ;-p

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
deveee 2013-10-18 11:35:34 +00:00
parent 612d53bfe7
commit 6e62e2fe52
2 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,7 @@
<bright proportion="1" height="100%"
I18N="In soccer setup menu" text="Number of goals to win" text_align="right" />
<spacer width="50" height="25"/>
<spinner id="goalamount" proportion="1" height="100%" min_value="1" max_value="30" wrap_around="true"/>
<spinner id="goalamount" proportion="1" height="100%" min_value="1" max_value="10" wrap_around="true"/>
</div>
<spacer height="25" width="25"/>

View File

@ -143,7 +143,6 @@ void SoccerSetupScreen::init()
SpinnerWidget* goalamount = getWidget<SpinnerWidget>("goalamount");
goalamount->setValue(UserConfigParams::m_num_goals);
goalamount->setMax(10);
// Set focus on "continue"
ButtonWidget* bt_continue = getWidget<ButtonWidget>("continue");