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

    refined-laptop-39041

    09/10/2022, 11:29 PM
    I assumed
  • r

    refined-laptop-39041

    09/11/2022, 4:16 AM
    Copy code
    xml
    <box width='100%' height='100%'>
        <vbox style='margin: 20px;' horizontalAlign='right'>
            <box width="495px" height="100px" style="background-color: #FBFDFD; border-radius: 20;"/>
        </vbox>
    </box>
    Renders correctly in the playground, but in Kha the corners are not rounded. Am I missing something?
  • b

    bright-gpu-74537

    09/11/2022, 6:17 AM
    yeah, hscript is no longer needed and there are no round corners in haxeui-kha (or haxeui-raylib)
  • b

    bright-gpu-74537

    09/11/2022, 6:18 AM
    these backends basically just ignore those css properties
  • b

    bright-gpu-74537

    09/11/2022, 6:19 AM
    the drawing stuff for kha, im sure, could be greatly improved
  • b

    bright-gpu-74537

    09/11/2022, 6:36 AM
    (ive asked in the kha discord how to achieve rounded borders and gradient fills, i remember asking before but i cant for the life of me remember the answer)
  • i

    icy-zebra-52882

    09/11/2022, 8:53 PM
    I made another flixel project and I'm getting the same macro error when trying to build a project with a
    module.xml
    defining a custom XML component
  • b

    bright-gpu-74537

    09/11/2022, 8:55 PM
    can you be more specific? Error, sample project or something?
  • i

    icy-zebra-52882

    09/11/2022, 8:55 PM
    it's the same sample project as last time, still showing a macro bug
  • b

    bright-gpu-74537

    09/11/2022, 8:56 PM
    i have like 100 sample projects people send me, can you send again?
  • i

    icy-zebra-52882

    09/11/2022, 8:56 PM
    ah sorry one sec
  • b

    bright-gpu-74537

    09/11/2022, 8:56 PM
    (its just easier for context 🙂 )
  • i

    icy-zebra-52882

    09/11/2022, 8:57 PM
    no macro error until you uncomment the lines in PlayState.hx
  • b

    bright-gpu-74537

    09/11/2022, 8:58 PM
    ah, this was something about the file base components... i thought this was resolved
  • b

    bright-gpu-74537

    09/11/2022, 8:58 PM
    (though i cant remember what the resolution was)
  • i

    icy-zebra-52882

    09/11/2022, 8:59 PM
    I'm on latest git for both -core and -flixel
  • i

    icy-zebra-52882

    09/11/2022, 8:59 PM
    happens both in and out of VS code, just in case it was some weird environment stuff, and on clean builds
  • i

    icy-zebra-52882

    09/11/2022, 9:00 PM
  • b

    bright-gpu-74537

    09/11/2022, 9:00 PM
    you sure you are on latest git?
  • b

    bright-gpu-74537

    09/11/2022, 9:01 PM
    whats the compiler error?
  • i

    icy-zebra-52882

    09/11/2022, 9:01 PM
    I'll update again, I did it once today already
  • i

    icy-zebra-52882

    09/11/2022, 9:01 PM
    Copy code
    PS D:\mslat\MEGA\Documents\code\flixel\smash-bros-tourney> lime build html5
    source/PlayState.hx:33: characters 1-8 : Warning : no class found for component: characterlist
    C:/Users/Matt/haxe/haxeui-core/git/haxe/ui/macros/ComponentMacros.hx:292: characters 70-83 : Unknown identifier : c0
    C:/Users/Matt/haxe/haxeui-core/git/haxe/ui/macros/ComponentMacros.hx:292: characters 70-83 : ... For function argument 'child'
    source/PlayState.hx:34: lines 34-40 : ... Defined in this class
  • b

    bright-gpu-74537

    09/11/2022, 9:01 PM
    what does
    haxelib list haxeui
    show?
  • b

    bright-gpu-74537

    09/11/2022, 9:01 PM
    ok, whats characterlist? thats not in this project is it?
  • i

    icy-zebra-52882

    09/11/2022, 9:01 PM
    Copy code
    haxeui-core: 1.3.0 1.4.0 [git]
    haxeui-flixel: 1.3.0 [git]
    haxeui-html5: 1.3.0 [1.4.0]
  • b

    bright-gpu-74537

    09/11/2022, 9:02 PM
    looks fine
  • i

    icy-zebra-52882

    09/11/2022, 9:02 PM
    ah yeah sorry that's the new project I started and got the same error, I sent you the original sample project that gets the error
  • b

    bright-gpu-74537

    09/11/2022, 9:02 PM
    so this project you sent me errors on your box?
  • i

    icy-zebra-52882

    09/11/2022, 9:04 PM
    ok the sample project I sent you is building just fine for flixel, but still gives errors in VS code

    https://plzlookat.mystupid.pictures/Code_RHeDTDtPB0.pngâ–¾

  • i

    icy-zebra-52882

    09/11/2022, 9:05 PM
    whereas my other one wouldn't build at all
1...125512561257...1687Latest