mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-30 20:15:38 +00:00
Fixed a sizing issue in OptionListComponent.
This commit is contained in:
parent
49347baffe
commit
5366af6999
|
@ -261,8 +261,7 @@ private:
|
|||
}
|
||||
else {
|
||||
// Make a size update so the text for the first entry is properly aligned.
|
||||
if (mText.getSize().x > 0.0f && mText.getSize().y > 0.0f)
|
||||
setSize(mText.getSize());
|
||||
setSize(mLeftArrow.getSize() + mRightArrow.getSize());
|
||||
|
||||
// Display the selected entry and left/right option arrows.
|
||||
for (auto it = mEntries.cbegin(); it != mEntries.cend(); it++) {
|
||||
|
|
Loading…
Reference in a new issue