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

    full-journalist-82607

    08/27/2022, 7:06 AM
    @bright-gpu-74537 Is the online version of html5 the same as git ? When replacing the Normal MainView with the example xml, and adding it the app, the colour effect doesn't happen ( I just replaced the colors you put wwith blue or red in case it was some problem withe variables) and the grow effect happens only vertically
  • b

    bright-gpu-74537

    08/27/2022, 8:44 AM
    oh 😄 - does it work though?
  • b

    bright-gpu-74537

    08/27/2022, 8:44 AM
    Yeah, should be, what backend is this? Is this literally a copy of the example from the explorer?
  • f

    full-journalist-82607

    08/27/2022, 9:03 AM
    yes its's a nearly exact copy ( only the variable of colours changed) and the backend is html5. In fact I just commented all other othings in my Main.hx (because I was lazy ... and I just copied it in the main program I'm working on) and npw it doesn't grow vertically anymore. Weird.
  • f

    full-journalist-82607

    08/27/2022, 9:05 AM
    ( I'm on latest git ( from this morning))
  • b

    bright-gpu-74537

    08/27/2022, 9:05 AM
    yeah, very strange any chance you could send it?
  • b

    bright-gpu-74537

    08/27/2022, 9:06 AM
    (or a repro)
  • f

    full-journalist-82607

    08/27/2022, 9:13 AM
    Humm tried to do a preop, and the repro works, going to explore my module and libs and remove them one by one.
  • f

    full-journalist-82607

    08/27/2022, 9:18 AM
    Oh I know, it's because I hade dce full
  • b

    bright-gpu-74537

    08/27/2022, 9:18 AM
    ah, that makes sense i think then
  • f

    full-journalist-82607

    08/27/2022, 9:24 AM
    I always thought haxe ui animations worked strangely , sometimes when I tried them it seemd to work, sometimes not, I just thought I didn't really understand them , but maybe it was dce all along ☺️
  • f

    full-journalist-82607

    08/27/2022, 9:30 AM
    Oh awesome, just tried my app again, and my own growing animations actually work now
  • b

    best-agent-85158

    08/27/2022, 11:23 AM
    It does! But it crashes when selecting certain folders. However, this crash was fixed in the past, so fixing again should be easy
  • b

    best-agent-85158

    08/27/2022, 11:24 AM
    ☝️
  • o

    orange-van-60470

    08/27/2022, 5:32 PM
    Ian I saw the post about TODO demo. Thinking a Hangman demo with scoreboard maybe a good demo if you have some simple graphics now.
  • b

    bright-gpu-74537

    08/27/2022, 6:20 PM
    the "problem" with that is its not very "UI", i mean, its a decent enough test for the canvas, but what i dont want is to start promoting the canvas like its some "make your game" type thing (as its really just not the purpose of it)
  • b

    bulky-exabyte-6537

    08/27/2022, 6:38 PM
    Is canvas just a bitmap underneath?
  • b

    bright-gpu-74537

    08/27/2022, 7:18 PM
    nope, it uses a backend based impl, so for html5 is svg (or canvas), for openfl its graphics, etc, etc
  • b

    bulky-exabyte-6537

    08/27/2022, 7:48 PM
    i see
  • o

    orange-van-60470

    08/27/2022, 9:52 PM
    Do you have an XML grammar for the graphics yet.. a preferred specification.
  • o

    orange-van-60470

    08/27/2022, 9:55 PM
    I remember using XAML in dev of a nokia music player, but it was million miles from designer pixel perfect... you had to hack it to implement real designs.
  • o

    orange-van-60470

    08/27/2022, 9:57 PM
    maybe this is why I am not keen on xml for layout.. it just seems to fail in real projects to deliver like as3 graphics would
  • o

    orange-van-60470

    08/27/2022, 9:57 PM
    in speed and pixel/vector control
  • o

    orange-van-60470

    08/27/2022, 9:59 PM
    and in flexible ui control, layout and ui logic do not really work if they are coupled at the parent child level
  • o

    orange-van-60470

    08/27/2022, 9:59 PM
    bubbling becomes a nightmare
  • i

    icy-zebra-52882

    08/27/2022, 10:27 PM
    can you define a layout in XML and then include that as a component in another XML layout?
  • i

    icy-zebra-52882

    08/27/2022, 10:28 PM
    like if I wanted an item list that I could include either in a dialogue box, and accessible from a different dialogue, without writing it twice
  • p

    purple-businessperson-14467

    08/28/2022, 6:51 AM
    yes. Heres a bit about it. You probably need to read the full page but this is the gist I use https://github.com/haxeui/haxeui-guides/blob/master/custom-components.md#using-a-build-macro
  • p

    purple-businessperson-14467

    08/28/2022, 6:53 AM
    In the components there is some help also http://haxeui.org/explorer/#miscellaneous/custom_component
  • b

    bright-gpu-74537

    08/28/2022, 8:55 AM
    Yeah, as hoseyhosey says, i think you are talking about custom components / views
1...122312241225...1687Latest