Closed QazCetelic closed 1 year ago
Expected layout:
Current layout:
There are only 3 components in the DOM. The progress bar is missing entirely, it's not just invisible.
-
Snippet to reproduce.
package ; import haxe.ui.Toolkit; import haxe.ui.components.HorizontalProgress; import haxe.ui.containers.HBox; import haxe.ui.components.Button; import haxe.ui.HaxeUIApp; class Main { public static function main() { Toolkit.init(); // required for OpenFL var app: HaxeUIApp = new HaxeUIApp(); app.ready(() -> { var hbox:HBox = new HBox(); var button:Button = new Button(); button.text = "Button A"; button.onClick = (e) -> { trace("Button A clicked"); } hbox.addComponent(button); var button:Button = new Button(); button.text = "Button B"; button.onClick = (e) -> { trace("Button B clicked"); } hbox.addComponent(button); var button:Button = new Button(); button.text = "Button C"; button.onClick = (e) -> { trace("Button C clicked"); } hbox.addComponent(button); var progress:Progress = new HorizontalProgress(); progress.pos = 0.0; progress.onClick = (e) -> { trace("Progress clicked"); progress.pos = (progress.pos + 10.0) % 100.0; } hbox.addComponent(progress); app.addComponent(hbox); app.start(); }); } }
It seems like this issues is related to haxeui-core itself
Expected Behavior
Expected layout:
Current Behavior
Current layout:
There are only 3 components in the DOM. The progress bar is missing entirely, it's not just invisible.
Possible Solution
-
Test app / minimal test case
Snippet to reproduce.
Your Environment