feathersui-openfl
feathersui-openfl copied to clipboard
Inline Label cutting off in AIR
Problem
I'm using LetterboxScaleManager to resize the stage to fit the window using an optimal scale ratio.
At certain scales, though, my Label cuts off.
Code
private function splashScreen1(): void {
this.panel.removeChildren();
const logo: Bitmap = new FortoresseXYImages.atelier801Logo() as Bitmap;
logo.scaleX = logo.scaleY = 0.5;
this.panel.addChild(logo);
const disclaimer: Label = new Label();
disclaimer.text = "INCLUDES ATELIER 801 PROPERTIES";
disclaimer.variant = Label.VARIANT_HEADING;
this.panel.addChild(disclaimer);
}
Versions
Feathers UI: feathersui-openfl-1.2.0-as3.swc AIR: 51.0 beta
InlineLabelCutoff.zip
The text in this demo is not cut off on my machine. Tested with AIR 50.2.4.2.