change logic from "extends beyond end" to "width > max width" (preparatory) (fixup)
This commit is contained in:
@@ -313,7 +313,7 @@ void OptionRow::InitText()
|
|||||||
bt.RunCommands( m_pParentType->ITEMS_ON_COMMAND );
|
bt.RunCommands( m_pParentType->ITEMS_ON_COMMAND );
|
||||||
|
|
||||||
/* Figure out the width of the row. */
|
/* Figure out the width of the row. */
|
||||||
float fWidth = m_pParentType->ITEMS_START_X;
|
float fWidth = 0;
|
||||||
for( unsigned c=0; c<m_pHand->m_Def.m_vsChoices.size(); c++ )
|
for( unsigned c=0; c<m_pHand->m_Def.m_vsChoices.size(); c++ )
|
||||||
{
|
{
|
||||||
RString sText = m_pHand->m_Def.m_vsChoices[c];
|
RString sText = m_pHand->m_Def.m_vsChoices[c];
|
||||||
|
|||||||
Reference in New Issue
Block a user