https://linen.dev logo
Join DiscordCommunities
Powered by
# haxe-ui
  • h

    happy-agent-4114

    05/18/2023, 4:38 PM
    I'm fully sure it has a repeat element because that's where it's from lol
  • f

    full-journalist-82607

    05/18/2023, 4:39 PM
    Oh yeah, "repeat" exists there
  • f

    full-journalist-82607

    05/18/2023, 4:43 PM
    hhttp://haxeui.org/builder/?801fcb38 repeat works when you use xml
  • h

    happy-agent-4114

    05/18/2023, 4:47 PM
    this works 💀

    https://cdn.discordapp.com/attachments/565569107701923852/1108798019144523776/image.pngâ–¾

  • h

    happy-agent-4114

    05/18/2023, 4:47 PM
    that does eactly the same thing
  • f

    full-journalist-82607

    05/18/2023, 4:49 PM
    yeah I don't understand why, must be a bug somewhere
  • h

    happy-agent-4114

    05/18/2023, 4:50 PM
    the parser literally uses the backgroundImageRepeat property internally

    https://cdn.discordapp.com/attachments/565569107701923852/1108798722189570088/image.pngâ–¾

  • f

    full-journalist-82607

    05/18/2023, 4:51 PM
    Yeah I 'm looking at the code, I don't understand either .. Maybe backgroundImageRepeat is accidentally nullified somewhere.
  • h

    happy-agent-4114

    05/18/2023, 5:00 PM
    this gets thrown in lens whenever I use backgroundImageRepeat directly

    https://cdn.discordapp.com/attachments/565569107701923852/1108801289447555164/image.pngâ–¾

  • f

    full-journalist-82607

    05/18/2023, 5:02 PM
    Humm, when I think about it, usually I never use .style only .customStyle . ( but the html5 code forgot about customStyle), maybe because style is resetted ? (http://haxeui.org/builder/?be9de123 on you click on the cancavs the style.backgroundImageRepeat is null even though I setted it in the code)
  • h

    happy-agent-4114

    05/18/2023, 5:05 PM
    yeah customstyle works
  • h

    happy-agent-4114

    05/18/2023, 5:06 PM
    ...why is component.style public then
  • f

    full-journalist-82607

    05/18/2023, 5:07 PM
    Lol, when I tested customStyle i wrote backgroundImage instead of backgroundImageRepeat . I was getting even more confused.
  • b

    bright-gpu-74537

    05/18/2023, 5:08 PM
    this is one of the things that needs to change, customStyle should be style, and style should be computedStyled (and possibly private)
  • b

    bright-gpu-74537

    05/18/2023, 5:09 PM
    yeah, the fact you get "out blue" when you go out the red box is defo not right
  • h

    happy-agent-4114

    05/18/2023, 5:57 PM
    can I set the scale of a background image directly or would I have to make an image element and scale that
  • b

    bright-gpu-74537

    05/18/2023, 6:00 PM
    like this: http://haxeui.org/builder/?9d2ee0a1 ?
  • h

    happy-agent-4114

    05/18/2023, 6:01 PM
    I'm using a repeating background image, I want to scale the individual tile programmatically
  • h

    happy-agent-4114

    05/18/2023, 6:01 PM
    basically a fake zoom effect
  • b

    bright-gpu-74537

    05/18/2023, 6:01 PM
    or this: http://haxeui.org/builder/?8b57bc69 ?
  • h

    happy-agent-4114

    05/18/2023, 6:01 PM
    this doesn't appear
  • b

    bright-gpu-74537

    05/18/2023, 6:01 PM
    http://haxeui.org/builder/?865090c9
  • b

    bright-gpu-74537

    05/18/2023, 6:02 PM
    what do you mean "doesnt appear"? You mean that example doesnt work?
  • h

    happy-agent-4114

    05/18/2023, 6:02 PM
    no like
  • b

    bright-gpu-74537

    05/18/2023, 6:02 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1108816894749835366/image.pngâ–¾

  • h

    happy-agent-4114

    05/18/2023, 6:02 PM
    Style.backgroundWidth is a Float
  • h

    happy-agent-4114

    05/18/2023, 6:03 PM
    if I set it to a float it just turns invisible
  • b

    bright-gpu-74537

    05/18/2023, 6:03 PM
    style.backgroundPercentWidth ?
  • h

    happy-agent-4114

    05/18/2023, 6:03 PM
    I might be brain damaged
  • h

    happy-agent-4114

    05/18/2023, 6:06 PM
    I think I'm doing something different wrong then
1...167616771678...1687Latest