Allow UI scaling of 4 in Scenario Editor

dialog.cpp[cleaning]: remove unused code
This commit is contained in:
ALONSO Laurent
2021-10-06 13:47:57 +02:00
committed by Celtic Minstrel
parent 4ac9081bb3
commit cd6eebdebe
3 changed files with 21 additions and 16 deletions

View File

@@ -6,8 +6,14 @@
BoE Scenario Editor Preferences
</text>
<led name='nosound' relative='pos-in pos' rel-anchor='prev' top='10' left='0' width='117'>No Sounds</led>
<led name='scaleui' relative='pos-in pos' rel-anchor='prev' top='10' left='0' width='340'>Apply UI scaling</led>
<button name='okay' relative='abs pos' rel-anchor='prev' type='regular' top='7' left='354'>OK</button>
<text name='scale-head' size='large' relative='pos-in pos' rel-anchor='prev' top='10' left='00' width='260' height='17'>Scale UI:</text>
<group name='scaleui'>
<led name='1' relative='pos-in pos' anchor='scale-head' top='4' left='15' width='33'>1</led>
<led name='2' relative='pos-in pos' anchor='scale-head' top='4' left='55' width='33'>2</led>
<led name='4' relative='pos-in pos' anchor='scale-head' top='4' left='95' width='33'>4</led>
<led name='other' relative='pos-in pos' anchor='scale-head' top='4' left='135' width='43'>other</led>
</group>
<button name='okay' relative='abs pos' anchor='scale-head' type='regular' top='7' left='354'>OK</button>
<button name='cancel' relative='neg pos-in' anchor='okay' type='regular' def-key='esc' top='0' left='73'>Cancel</button>
</dialog>