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

    bright-gpu-74537

    01/20/2023, 8:59 PM
    can you repro the table bug minimally?
  • h

    happy-agent-4114

    01/20/2023, 9:28 PM
    the reason I don't do that is so that I can store the graph parameters in scope and modify them on other events
  • h

    happy-agent-4114

    01/20/2023, 9:29 PM
    like this
  • f

    full-journalist-82607

    01/20/2023, 9:30 PM
    Hmm not simple to make one, but I'll try 🙂
  • r

    refined-laptop-39041

    01/20/2023, 11:30 PM
    I don't see why you can't?
  • h

    happy-agent-4114

    01/20/2023, 11:39 PM
    I need to read the args also
  • r

    refined-laptop-39041

    01/21/2023, 12:49 AM
    How is that any different? You would just be replacing the current variable with something like ``var imgURL:String = getImgURL(...``
  • f

    full-journalist-82607

    01/21/2023, 3:04 PM
    For the table minimal case, I wasn't able to recreate one and my brain fried and don't want to see tables anymore so I'm polishing other apps for a few days before going back 🙂 So back to hxwidgets, here's an interesting bug
    Copy code
    haxe
    package issues;
    
    import haxe.ui.events.UIEvent;
    import haxe.ui.containers.VBox;
    
    @:xml('
    <vbox width="100%" height="100%">
    <button text ="show" onClick="properties.show()"/>
    <vbox id="properties" width="100%" hidden="true">
                                <hbox width="100%">
                                    <button text ="Button with pixel width ( needs window resize to be shown)" id="origin" width="100" />
                                    <button text ="Button with percent width" id="delete_card2" width="50%" />
                                    <button text ="Button ( needs  windows resize to be shown)" id="delete_card" />
                                </hbox>
                                </vbox>
    </vbox>')
    class A012 extends VBox {
    }
    If you click on the on the button show to show the properties only deletecard2 is shown. For the others to be seen, you have to resize the window
  • t

    tall-van-38121

    01/21/2023, 3:19 PM
    Hi guys I'm a bit stuck with styles in haxeui. I see they use css for describing the style. haxeui-core\1,5,0\haxe\ui\_module\styles\ When I build my project (html5) in js I can see some variables like, haxe_ui_themes_ThemeManager.get_instance().setThemeVar("default","disabled-text-color","#cccccc"); but cant see where is the source css for the style, and generally how do I define/customize my style. what are the steps and what are the files i need to touch and see in the output folder
  • f

    full-journalist-82607

    01/21/2023, 3:20 PM
    HI Helgii ! First of all it is always better to use latest git version of haxeui-core and html5 .
  • t

    tall-van-38121

    01/21/2023, 3:20 PM
    Actually I was trying to fix a bug with optionboxes, when they are enabled/disabled text color is still the same (disabled)
  • f

    full-journalist-82607

    01/21/2023, 3:21 PM
    For example this bug doesn't exist anymore in the git version 🙂
  • t

    tall-van-38121

    01/21/2023, 3:21 PM
    ok thanx) great!
  • t

    tall-van-38121

    01/21/2023, 3:22 PM
    but still what about styles, creating new etc, where are the css in the output
  • t

    tall-van-38121

    01/21/2023, 3:22 PM
    should I copy it to the output folder
  • t

    tall-van-38121

    01/21/2023, 3:23 PM
    or css is just read and then converted to constants in js code
  • f

    full-journalist-82607

    01/21/2023, 3:23 PM
    Here are some old notes on styles which can help https://gist.github.com/Shallowmallow/0b3f1974eda3a94ccc9ea1d1939a2d98 ( I improved then but then accidentely deleted the file lol)
  • f

    full-journalist-82607

    01/21/2023, 3:24 PM
    I'm going to leave the computer for a little. But if there's a still something you don't understand. You can ask here and I'll try to anser
  • t

    tall-van-38121

    01/21/2023, 3:25 PM
    Thanks Ill try reading through the doc you have just pointed to
  • c

    clever-yak-82528

    01/22/2023, 12:30 AM
    haxeui is the best gui library ive encountered, but haxe is kind of irritating to write binary file parsers in
  • c

    clever-yak-82528

    01/22/2023, 12:30 AM
    so, mega brain idea, which i am currently experimenting with: make my gui in haxe, and link to a rust library for parsing the file
  • r

    refined-laptop-39041

    01/22/2023, 2:31 AM
    What file type? @clever-yak-82528
  • c

    clever-yak-82528

    01/22/2023, 2:31 AM
    in this case, wii bmg files
  • b

    bright-gpu-74537

    01/22/2023, 8:56 AM
    whats the issue with haxe a binary parsers? Just useful bits missing from the bytes api in haxe or something?
  • b

    bright-gpu-74537

    01/22/2023, 8:58 AM
    i think that guide yoplala link pretty much covers it... would be nice to get that into the "guides" at some point as its pretty full / complete
  • c

    clever-yak-82528

    01/22/2023, 8:58 AM
    that and some other things
  • c

    clever-yak-82528

    01/22/2023, 8:58 AM
    parsing binary files in rust is a dream
  • b

    bright-gpu-74537

    01/22/2023, 8:59 AM
    what are the main differences, just curious now really
  • c

    clever-yak-82528

    01/22/2023, 9:00 AM
    it's the combination of a really, really nice commandline argument parser, a library for reading binary formats that handles most of the work for you and giving you easy low-level access to the types
  • c

    clever-yak-82528

    01/22/2023, 9:01 AM
    if i want a uint32 or a uint64 or a uint128 in haxe, i have to mess around with stuff and just hope it works properly, and the documentation will either not exist or be spotty most of the time
1...139213931394...1687Latest