Page 1 of 1

Action Bar Cutting Off Bottom of Display

Posted: Wed Feb 13, 2019 3:28 am
by PEB
With the following code, on the new Android player, the action bar causes the bottom of the display to be cut off until the display is rotated (portrait/landscape). Once the orientation is changed, the display is scaled correctly so that the bottom can be seen.

Code: Select all

@DISPLAY {Width=1200, Height=1920, Layers=True, ScaleMode=#SCALEMODE_LAYER, FitScale=True, KeepProportions=True}

CreateBrush(1, 1200, 1920)
SetLineWidth(50)
SelectBrush(1)
	Box(0, 0, 1200, 1920, #RED)
EndSelect
DisplayBrush(1, 0, 0)
Is there a way to correct this behavior without changing the orientation?

Re: Action Bar Cutting Off Bottom of Display

Posted: Sat Feb 16, 2019 1:36 pm
by airsoftsoftwair
Probably not. Looks like a bug to me... will be fixed.

Re: Action Bar Cutting Off Bottom of Display

Posted: Fri May 03, 2019 5:14 pm
by airsoftsoftwair

Code: Select all

- Fix [Android]: Scaling size wasn't calculated correctly when using "FitScale" while the action bar
  was visible as well