bright-gpu-74537
05/12/2022, 7:10 PMbright-gpu-74537
05/12/2022, 7:10 PMbright-gpu-74537
05/12/2022, 7:11 PMbright-gpu-74537
05/12/2022, 7:42 PMbright-gpu-74537
05/12/2022, 7:43 PMPropertyGrid.componentFromProperty(p -> { ... }).... .... meh
or you can do it as you suggested in the xml (or addComponent if code), which i like alot more:bright-gpu-74537
05/12/2022, 7:45 PMxml
<property id="intPropAsSlider" label="Int Property" type="int" value="101">
<slider max="200" />
</property>
xml
<property id="boolAsSwitch" label="Bool Property" type="boolean" value="false">
<box style="padding: 5px;" width="100%">
<switch horizontalAlign="right" />
</box>
</property>
xml
<property id="intAsProgress" label="Int Property" type="int" value="102">
<box style="padding: 10px 5px;" width="100%">
<progress max="200" width="100%" />
</box>
</property>bright-gpu-74537
05/12/2022, 7:51 PMPropertyGrid.componentFromProperty its not how anything else in haxeui works, so its "out of place"refined-greece-48002
05/12/2022, 9:07 PMmost-caravan-45834
05/12/2022, 9:08 PMmost-caravan-45834
05/12/2022, 9:09 PMrefined-greece-48002
05/12/2022, 9:23 PMhandsome-vase-97531
05/13/2022, 3:18 AMbulky-exabyte-6537
05/13/2022, 4:18 AMpurple-businessperson-14467
05/13/2022, 5:50 AMbright-gpu-74537
05/13/2022, 6:07 AMbright-gpu-74537
05/13/2022, 6:07 AMbright-gpu-74537
05/13/2022, 6:23 AMbright-gpu-74537
05/13/2022, 6:23 AMbright-gpu-74537
05/13/2022, 6:24 AMambitious-knife-25690
05/13/2022, 10:57 AMbright-gpu-74537
05/13/2022, 11:01 AMbright-gpu-74537
05/13/2022, 11:01 AMbright-gpu-74537
05/13/2022, 11:01 AMhandsome-vase-97531
05/13/2022, 11:02 AMhandsome-vase-97531
05/13/2022, 11:02 AMhandsome-vase-97531
05/13/2022, 11:03 AMhandsome-vase-97531
05/13/2022, 11:03 AMhandsome-vase-97531
05/13/2022, 11:03 AMbright-gpu-74537
05/13/2022, 11:04 AMhandsome-vase-97531
05/13/2022, 11:04 AM