bright-gpu-74537
04/03/2021, 7:49 PMbright-gpu-74537
04/03/2021, 7:49 PMbright-gpu-74537
04/03/2021, 7:49 PMbright-gpu-74537
04/03/2021, 7:50 PMbillions-dog-17481
04/03/2021, 7:51 PM.properties files are read in your code?bright-gpu-74537
04/03/2021, 7:51 PMbillions-dog-17481
04/03/2021, 7:52 PMhaxeui-heaps.propertiesbright-gpu-74537
04/03/2021, 7:52 PMbright-gpu-74537
04/03/2021, 7:56 PMbright-gpu-74537
04/03/2021, 7:56 PMbillions-dog-17481
04/04/2021, 5:06 PMBackendMacros.processBackend(); is called from Toolkit (and is an expression macro), so I think the backend .properties files would be re-read only if Toolkit was re-built. To fix this, the files should instead be read from a build macro.bright-gpu-74537
04/05/2021, 10:10 AMbright-gpu-74537
04/05/2021, 10:10 AMbillions-dog-17481
04/05/2021, 7:19 PMpurple-businessperson-14467
04/08/2021, 4:42 AMbright-gpu-74537
04/08/2021, 6:33 AMbright-gpu-74537
04/08/2021, 10:06 AMhandsome-processor-40961
04/08/2021, 3:48 PMhandsome-processor-40961
04/08/2021, 3:48 PMripe-belgium-25271
04/09/2021, 5:06 PMripe-belgium-25271
04/09/2021, 5:14 PMbright-gpu-74537
04/09/2021, 5:15 PMripe-belgium-25271
04/09/2021, 5:16 PMbright-gpu-74537
04/09/2021, 5:17 PMripe-belgium-25271
04/09/2021, 5:30 PMhaxe
import haxe.ui.Toolkit;
import haxe.ui.macros.ComponentMacros;
import haxe.ui.core.Screen;
import openfl.display.Sprite;
import openfl.text.TextField;
import openfl.text.TextFieldType;
class Main extends Sprite {
public function new() {
super();
// comment/uncomment these lines to affect the functionality of the textField.
// Toolkit.init();
// var main = ComponentMacros.buildComponent("assets/main-view.xml");
// Screen.instance.addComponent(main);
var textF = new TextField();
textF.type = TextFieldType.INPUT;
textF.text = "Edit me!";
textF.border = true;
textF.y = 128;
addChild(textF);
}
}ripe-belgium-25271
04/09/2021, 5:30 PMxml
<vbox style="padding: 5px;">
<button text="Click Me!" onclick="this.text='Thanks!'" style="font-size: 24px;" />
</vbox>ripe-belgium-25271
04/09/2021, 5:31 PMbright-gpu-74537
04/09/2021, 5:31 PMripe-belgium-25271
04/09/2021, 5:34 PMxml
<!-- <?xml version="1.0" encoding="utf-8" ?> -->
<?xml version="1.0" encoding="utf-8" ?>
<vbox width="100%" height="100%">
<vbox height = "90%">
<!-- spacer -->
</vbox>
<vbox
width="100%" height="10%"
verticalAlign="bottom"
style="background-color:#CCCCCC"
>
<spacer height="10" />
<hbox width="100%" height="100%">
<label text="Hi" />
</hbox>
<spacer height="10" />
</vbox>
</vbox>
I know of the verticalAlignment="bottom" property, but I couldn't get it to work...
Keep in mind that i'm a noob to haxe, openfl, and haxeui, so I might just be missing something simple!bright-gpu-74537
04/09/2021, 5:36 PM