Option: Don't Stretch/Shrink Game Window

Sets gameMapPanel to size 480 x 352
Prevents resizing.
This commit is contained in:
Samuel
2012-10-10 01:25:50 +02:00
parent 95e46dbbaf
commit 478e796dbd
5 changed files with 25 additions and 3 deletions

View File

@@ -42,13 +42,17 @@ Panel
id: fullscreen
!text: tr('Fullscreen')
OptionCheckBox
id: dontStretchShrink
!text: tr('Don\'t stretch/shrink Game Window')
Label
id: backgroundFrameRateLabel
!text: tr('Game framerate limit: %s', 'max')
anchors.left: parent.left
anchors.right: parent.right
anchors.top: prev.bottom
margin-top: 6
margin-top: 16
@onSetup: |
local value = Options.getOption('backgroundFrameRate')
local text = value