feathersui-openfl icon indicating copy to clipboard operation
feathersui-openfl copied to clipboard

Inline Label cutting off in AIR

Open hydroper opened this issue 1 year ago • 2 comments

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.

image

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

hydroper avatar Mar 03 '24 13:03 hydroper

I'm so hurried when it comes to issue reporting, but anyways here's the MRP:

InlineLabelCutoff.zip

hydroper avatar Mar 05 '24 20:03 hydroper

InlineLabelCutoff.zip

The text in this demo is not cut off on my machine. Tested with AIR 50.2.4.2.

joshtynjala avatar Apr 01 '24 17:04 joshtynjala