We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 146e9d6 commit eac2101Copy full SHA for eac2101
haxe/ui/containers/Panel.hx
@@ -57,12 +57,17 @@ class Panel extends VBox {
57
#if (haxeui_openfl || haxeui_nme || haxeui_flixel)
58
59
public override function set_width(value:Float):Float {
60
- contentContainer.percentWidth = 100;
+ trace(contentContainer);
61
+ if (contentContainer != null) {
62
+ contentContainer.percentWidth = 100;
63
+ }
64
return super.set_width(value);
65
}
66
67
public override function set_height(value:Float):Float {
- contentContainer.percentHeight = 100;
68
69
+ contentContainer.percentHeight = 100;
70
71
return super.set_height(value);
72
73
0 commit comments