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

    bright-gpu-74537

    10/01/2022, 6:18 AM
    oh... nice 🙂
  • b

    bright-gpu-74537

    10/01/2022, 6:19 AM
    i think so yeah, although, im having trouble seeing the diff
  • w

    witty-island-52596

    10/01/2022, 6:21 AM
    press < and > (or comma and period) to increase the scale
  • w

    witty-island-52596

    10/01/2022, 6:22 AM
    https://imgur.com/8CQBhDa
  • b

    bright-gpu-74537

    10/01/2022, 6:23 AM
    ah, ok, i was at scale 1
  • b

    bright-gpu-74537

    10/01/2022, 6:24 AM
    nice one... thanks for the fix... shall i close the issue in GH?
  • w

    witty-island-52596

    10/01/2022, 6:29 AM
    let me close it with details once it's merged
  • f

    full-journalist-82607

    11/18/2022, 1:09 AM
    There was also this way to . But it doesn't seem to work anymore : Warning : no class found for component: recap
  • b

    bright-gpu-74537

    11/18/2022, 7:13 AM
    oh? It defo should work... if i broke it, it certainly wasnt intentional
  • f

    full-journalist-82607

    11/18/2022, 8:51 AM
    Yes it doesn't work anymore. Since the 30/09 commit XML namespaces
  • b

    bright-gpu-74537

    11/18/2022, 9:26 AM
    ah... that probably makes sense... nice one... didnt even think to check it
  • h

    hallowed-ocean-84954

    11/19/2022, 1:53 AM
    Figured out the Float should be String thing. For every case where I am putting a field into a label using string interpolation I need to add an inner set of quotes. So I had this in a lot of places
    Copy code
    <label text="${specularStrength.pos}" horizontalAlign="center"></label>
    and that gives the error. If I change it to this
    Copy code
    <label text="'${specularStrength.pos}'" horizontalAlign="center"></label>
    Note the additional single quotes around the interpolation
  • h

    hallowed-ocean-84954

    11/19/2022, 1:53 AM
    that's all it was
  • b

    bright-gpu-74537

    11/19/2022, 9:42 AM
    hmmmm, still kinda weird though... i would have expected haxeui to take care of that... also, why was this a "vscode" only thing?
  • h

    hallowed-ocean-84954

    11/19/2022, 2:32 PM
    Yeah all true. I think it's something in the extension, maybe a bug 'cos it's not required outside of vscode
  • e

    elegant-twilight-61392

    11/19/2022, 2:34 PM
    could it be vshaxe is using a different hxml than when you compile in terminal?
  • b

    bright-gpu-74537

    11/19/2022, 4:27 PM
    whoops 😅
  • f

    fierce-soccer-8550

    11/19/2022, 5:01 PM
    lol, whoops
  • b

    bright-gpu-74537

    11/19/2022, 5:41 PM
    better, still, screwed something up (yesterday) on hxwidgets
  • b

    bright-gpu-74537

    11/19/2022, 5:41 PM
    thank the gods for CI 😄
  • h

    hallowed-ocean-84954

    11/19/2022, 6:39 PM
    I don't actually know how to tell. I deleted Export and did a full build - still no difference. I tried downgrading the extension to 2.24.1 - still same. One thing that is odd is that haxelib list from powershell shows:
    Copy code
    haxeui-core: 1.5.0 [git]
    haxeui-openfl: 1.5.0 [git]
    lime: [8.0.0]
    openfl: [9.2.0]
    but the Haxe dependencies shows (dev) for all of these - doesn't report the version - not sure why. Actually mouse over shows they are pointing to .haxelib dirs, so it's probably just how it displays it. Tried with and without --debug. No difference Tried from powershell inside a vscode terminal (7.2.7) and from my normal separate powershell terminal (7.2.6) - both work. Tried the HTML5 target - it too can hit this issue during compilation. So it's def something to do with running the task in vscode but I can't spot it yet. So yeah, running out of ideas, thankfully I have the w/a but weird
  • a

    ambitious-knife-25690

    11/20/2022, 1:54 AM
    @bright-gpu-74537someone is asking a question on the haxe forum but in looking to answer the question I have become confused myself 😂
  • a

    ambitious-knife-25690

    11/20/2022, 1:56 AM
    I can't seem to find a way to style menubuttons like he asked but... what is extra confusing is the api docs shows style properties in
    backgroundColor
    format whereas all examples uses
    background-color
    which is it or is it both? o_o
  • a

    ambitious-knife-25690

    11/20/2022, 1:59 AM
  • a

    ambitious-knife-25690

    11/20/2022, 1:59 AM
    ah okay, defo not both
  • a

    ambitious-knife-25690

    11/20/2022, 1:59 AM
    just new doc bug i guess?
  • h

    hallowed-ocean-84954

    11/20/2022, 3:14 AM
    I'm pretty sure doc is the class field names and the hyphenated form is the same thing used in the XML/CSS file - camel case to kebab case. There are some exceptions but I think that's in general what's going on.
  • b

    bright-gpu-74537

    11/20/2022, 9:58 AM
    pretty much what Rooks said - the mapping isnt automatic (the css is parsed and matched to var names), but for the most part it works as described above, ie, css
    background-color
    is the style variable (in haxe)
    backgroundColor
  • b

    bright-gpu-74537

    11/20/2022, 2:07 PM
    ok, this works now: http://haxeui.org/builder/?3def45bf its actually a really nice feature i probably dont use enough 🙂
  • b

    bright-gpu-74537

    11/20/2022, 2:14 PM
    (would be nice if this worked too: http://haxeui.org/builder/?5f2cac8a - i actually think it might be pretty simple to add it)
1...129112921293...1687Latest