fix "force SHOW_ONE" logic
This commit is contained in:
@@ -286,6 +286,9 @@ void ScreenOptions::InitMenu( InputMode im, OptionRowDefinition defs[], int iNum
|
|||||||
sText.MakeUpper();
|
sText.MakeUpper();
|
||||||
fX += ITEMS_ZOOM * pFont->GetLineWidthInSourcePixels( CStringToWstring(sText) );
|
fX += ITEMS_ZOOM * pFont->GetLineWidthInSourcePixels( CStringToWstring(sText) );
|
||||||
|
|
||||||
|
if( c != optline.choices.size()-1 )
|
||||||
|
fX += ITEMS_GAP_X;
|
||||||
|
|
||||||
if( fX > ITEMS_END_X )
|
if( fX > ITEMS_END_X )
|
||||||
{
|
{
|
||||||
row.m_RowDef.layoutType = LAYOUT_SHOW_ONE_IN_ROW;
|
row.m_RowDef.layoutType = LAYOUT_SHOW_ONE_IN_ROW;
|
||||||
|
|||||||
Reference in New Issue
Block a user