https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    12/07/2022, 8:02 AM
    nice one, will check it out later
  • c

    creamy-animal-95850

    12/07/2022, 8:06 AM
    oh, just making a dev tool for myself. it's not essential and I've just made it static for now - thanks, though!
  • b

    bright-gpu-74537

    12/07/2022, 8:07 AM
    nice 🙂 Looks good... ill still take a look at it, a bug is a bug is a bug and all that... i also notice a "double border" on the property grid...
  • b

    bright-gpu-74537

    12/07/2022, 8:08 AM
    what version of haxeui-core are you using?
  • c

    creamy-animal-95850

    12/07/2022, 8:11 AM
    git, git everything here's the xml for that property section - it was just copied from the component examples
    Copy code
    xml
    <vbox width="230" height="100%">
                    <property-grid width="100%" height="100%">
                        <property-group text="Shape Properties">
                            <property label="Hidden" type="boolean" value="false" />
                            <property label="Int Property" type="int" value="101" />
                            <property label="List Property" type="list" value="Item 1">
                                <data>
                                    <item text="Item 1" />
                                    <item text="Item 2" />
                                    <item text="Item 3" />
                                    <item text="Item 4" />
                                    <item text="Item 5" />
                                    <item text="Item 6" />
                                </data>
                            </property>    
                        </property-group>
                        <property-group text="Segment Properties">
                            <property label="Hidden" type="boolean" value="false" />
                            <property label="Int Property" type="int" value="101" />
                            <property label="List Property" type="list" value="Item 1">
                                <data>
                                    <item text="Item 1" />
                                    <item text="Item 2" />
                                    <item text="Item 3" />
                                    <item text="Item 4" />
                                    <item text="Item 5" />
                                    <item text="Item 6" />
                                </data>
                            </property>    
                        </property-group>
                    </property-grid>
                </vbox>
  • b

    bright-gpu-74537

    12/07/2022, 8:12 AM
    OK, i thought i had fixed that double border tbh... obviously not... ill add that to the list too
  • c

    creamy-animal-95850

    12/07/2022, 8:13 AM
    it's the heaps backend
  • b

    bright-gpu-74537

    12/07/2022, 8:13 AM
    yup, got that thanks
  • a

    ambitious-knife-25690

    12/07/2022, 10:27 AM
    lol, the curtains are closing
  • c

    creamy-animal-95850

    12/07/2022, 10:29 AM
    left: stage curtains, right: epilepsy
  • f

    fierce-soccer-8550

    12/07/2022, 1:47 PM
    Can someone point out what it is i'm doing wrong and/or missing in this hx file? http://haxeui.org/builder/?5f1f4b6e
  • f

    fierce-soccer-8550

    12/07/2022, 2:04 PM
    I added the index.html and script.js that i'm trying to replicate in HaxeUI into the assets folder..... http://haxeui.org/builder/?21a4ea5f
  • b

    bright-gpu-74537

    12/07/2022, 2:04 PM
    http://haxeui.org/builder/?574e8be6 - comments in the source
  • f

    fierce-soccer-8550

    12/07/2022, 2:05 PM
    Thank you Ian
  • f

    fierce-soccer-8550

    12/07/2022, 2:32 PM
    Your comments helped greatly, much appreciated. I think I see why I was having some issues with some js examples I was trying to convert over now as well.
  • c

    curved-appointment-82072

    12/07/2022, 4:18 PM
    Hi Ian and team. I was trying play around with the CLI. And found an issue with the custom-comp command :
    Copy code
    haxelib run haxeui-core custom-component MyComp
    
    Called from sys.thread.Mutex::$statics line 1
    Called from Main::main line 55
    Called from commands.CustomComponentCommand::execute line 44
    Called from projects.TemplateProject::execute line 28
    Called from a C function
    Called from projects.Project::execute line 17
    Uncaught exception - Invalid field access : length
    (latest gÃŪt)
  • b

    bright-gpu-74537

    12/07/2022, 4:26 PM
    sounds like a screw up, havent ran the command in ages, thanks, ill check it out
  • p

    purple-businessperson-14467

    12/07/2022, 5:37 PM
    Mostly it was just checking rapid_text_metrics, I wasnt sure it was in builder or not. I thought it might be nice "informational" stuff but certainly not needed
  • f

    famous-alarm-22563

    12/08/2022, 7:20 AM
    is there any css validation? When I try to use style within an xml file for haxeui I get a segmentation fault...
  • f

    famous-alarm-22563

    12/08/2022, 7:20 AM
    My first guess is that the code probably had a typo in it.. I deleted the exact codee so its not on me.
  • b

    bright-gpu-74537

    12/08/2022, 8:01 AM
    there isnt any validation, but i cant really see how bad css would causes a seg fault.... got an example?
  • f

    famous-alarm-22563

    12/08/2022, 8:03 AM
    I'm not sure what I did because I deleted the code but I remember setting margin to auto and specified an HSL background color
  • b

    bright-gpu-74537

    12/08/2022, 8:04 AM
    OK, well, neither of those two things are supported 😄 Still wouldnt have expected a hard crash though, just nothing to happen...
  • f

    famous-alarm-22563

    12/08/2022, 8:04 AM
    so.. how to center my button?
  • f

    famous-alarm-22563

    12/08/2022, 8:05 AM
    if margin auto isn't supported
  • f

    famous-alarm-22563

    12/08/2022, 8:05 AM
    am I gonna have to use @:bind so I can implement button centering logic?
  • b

    bright-gpu-74537

    12/08/2022, 8:06 AM
    you use the valign / halign properties ... keep in mind that haxeui isnt html5 and haxeui css isnt browser w3c css3
  • f

    famous-alarm-22563

    12/08/2022, 8:06 AM
    its hard to remember but I'll try 🙂
  • b

    bright-gpu-74537

    12/08/2022, 8:08 AM
    http://haxeui.org/builder/?6083a414
  • f

    famous-alarm-22563

    12/08/2022, 8:11 AM
    Copy code
    class MenuState extends FlxState
    {
        var score:Int;
        var ui = ComponentMacros.build("assets/views/menu-view.xml");
1...132413251326...1687Latest