Action Bar Cutting Off Bottom of Display

Report any Hollywood bugs here
Post Reply
PEB
Posts: 241
Joined: Sun Feb 21, 2010 1:28 am

Action Bar Cutting Off Bottom of Display

Post by PEB » Wed Feb 13, 2019 3:28 am

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?

User avatar
airsoftsoftwair
Posts: 3068
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Action Bar Cutting Off Bottom of Display

Post by airsoftsoftwair » Sat Feb 16, 2019 1:36 pm

Probably not. Looks like a bug to me... will be fixed.

User avatar
airsoftsoftwair
Posts: 3068
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Action Bar Cutting Off Bottom of Display

Post by airsoftsoftwair » Fri May 03, 2019 5:14 pm

Code: Select all

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

Post Reply