Closed jrdoughty closed 3 years ago
I would always love a stripped down app... it makes it much easier to test... Something is defo off there
Cheers, Ian
Out of interest, does the same apply to the "new component method" branch(es)?
Got this when I switched branches: C:/HaxeToolkit/haxe/lib/haxeui-openfl/git/haxe/ui/backend/ScreenBase.hx:188: characters 17-35 : haxe.ui.core.MouseEvent has no field ctrlKey C:/HaxeToolkit/haxe/lib/haxeui-openfl/git/haxe/ui/backend/ScreenBase.hx:189: characters 17-36 : haxe.ui.core.MouseEvent has no field shiftKey C:/HaxeToolkit/haxe/lib/haxeui-openfl/git/haxe/ui/backend/ScreenBase.hx:203: characters 17-38 : haxe.ui.core.KeyboardEvent has no field ctrlKey C:/HaxeToolkit/haxe/lib/haxeui-openfl/git/haxe/ui/backend/ComponentBase.hx:290: characters 17-35 : haxe.ui.core.MouseEvent has no field ctrlKey C:/HaxeToolkit/haxe/lib/haxeui-openfl/git/haxe/ui/backend/ComponentBase.hx:291: characters 17-36 : haxe.ui.core.MouseEvent has no field shiftKey C:/HaxeToolkit/haxe/lib/haxeui-core/git/haxe/ui/core/Screen.hx:270: characters 13-29 : haxe.ui.backend.ScreenBase has no field hideDialog C:/HaxeToolkit/haxe/lib/haxeui-core/git/haxe/ui/core/Screen.hx:269: lines 269-299 : Field hideDialog is declared 'override' but doesn't override any field C:/HaxeToolkit/haxe/lib/haxeui-core/git/haxe/ui/core/Screen.hx:97: characters 22-41 : haxe.ui.backend.ScreenBase has no field messageDialog C:/HaxeToolkit/haxe/lib/haxeui-core/git/haxe/ui/core/Screen.hx:145: characters 22-38 : haxe.ui.backend.ScreenBase has no field showDialog C:/HaxeToolkit/haxe/lib/haxeui-core/git/haxe/ui/core/Screen.hx:144: lines 144-188 : Field showDialog is declared 'override' but doesn't override any field C:/HaxeToolkit/haxe/lib/haxeui-core/git/haxe/ui/core/Screen.hx:96: lines 96-142 : Field messageDialog is declared 'override' but doesn't override any field Build halted with errors. Done(1) C:\HaxeToolkit\haxe\lib\haxeui-openfl\git\haxe\ui\backend\ComponentBase.hx:290: chars 16-34 : Error: haxe.ui.core.MouseEvent has no field ctrlKey C:\HaxeToolkit\haxe\lib\haxeui-openfl\git\haxe\ui\backend\ComponentBase.hx:291: chars 16-35 : Error: haxe.ui.core.MouseEvent has no field shiftKey C:\HaxeToolkit\haxe\lib\haxeui-openfl\git\haxe\ui\backend\ComponentBase.hx:15: chars 0-41 : Warning: Unused import
you'll need new-component-method
branch of haxeui-core
and haxeui-openfl
Ah, gotcha, I'll try that momentarily, heres the mini app: https://github.com/jrdoughty/mini-haxe-ui-app
Now getting this: cmd: "C:\HaxeToolkit\haxe/haxelib" run lime build "project.xml" html5 -release -Dfdb -simulator C:/HaxeToolkit/haxe/lib/haxeui-core/git/haxe/ui/containers/ListView.hx:26: characters 36-48 : haxe.ui.util.Variant should be haxe.ui.constants.SelectionMode C:/HaxeToolkit/haxe/lib/haxeui-core/git/haxe/ui/components/Image.hx:20: lines 20-21 : haxe.ui.util.Variant should be haxe.ui.constants.ScaleMode C:/HaxeToolkit/haxe/lib/haxeui-core/git/haxe/ui/components/Image.hx:21: characters 5-17 : haxe.ui.util.Variant should be haxe.ui.constants.HorizontalAlign C:/HaxeToolkit/haxe/lib/haxeui-core/git/haxe/ui/components/Image.hx:21: characters 3-15 : haxe.ui.util.Variant should be haxe.ui.constants.VerticalAlign C:/HaxeToolkit/haxe/lib/haxeui-core/git/haxe/ui/containers/ScrollView.hx:24: lines 24-25 : haxe.ui.util.Variant should be haxe.ui.constants.ScrollMode Build halted with errors. Done(1) C:\HaxeToolkit\haxe\lib\haxeui-core\git\haxe\ui\components\Image.hx:20: chars 31-33 : Error: haxe.ui.util.Variant should be haxe.ui.constants.ScaleMode C:\HaxeToolkit\haxe\lib\haxeui-core\git\haxe\ui\components\Image.hx:21: chars 4-16 : Error: haxe.ui.util.Variant should be haxe.ui.constants.HorizontalAlign C:\HaxeToolkit\haxe\lib\haxeui-core\git\haxe\ui\components\Image.hx:21: chars 2-14 : Error: haxe.ui.util.Variant should be haxe.ui.constants.VerticalAlign C:\HaxeToolkit\haxe\lib\haxeui-core\git\haxe\ui\components\Image.hx:17: chars 0-28 : Warning: Unused import
This appears to be fixed in the new component method at present
The fix for https://github.com/haxeui/haxeui-core/issues/169 makes it so most elements don't have any font size by default
Expected Behavior
Elements with text show on screen without explicitly stated font size:
Current Behavior
if font size isn't stated, elements shrink and font's aren't visible
If you need more info or can't reproduce, let me know and I'll make a stripped down app to show what I've got