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

    witty-island-52596

    09/29/2022, 7:12 PM
    inside of
    Copy code
    xml
    <scrollview width="100%" height="110" style="borderSize:0;padding:0;">
        <grid columns="10" id="medalList">
        </grid>
    </scrollview>
  • b

    bright-gpu-74537

    09/29/2022, 7:14 PM
    so the image is 100x100 and you image component is 50x50?
  • w

    witty-island-52596

    09/29/2022, 7:14 PM
    yes
  • b

    bright-gpu-74537

    09/29/2022, 7:14 PM
    sounds like image scaling isnt implemented for haxeui-flixel
  • b

    bright-gpu-74537

    09/29/2022, 7:14 PM
    what if you remove scalemode?
  • w

    witty-island-52596

    09/29/2022, 7:15 PM
    the actual scale looks right, its the cliprect that seems wrong
  • w

    witty-island-52596

    09/29/2022, 7:16 PM
    also scaling works in other places
  • b

    bright-gpu-74537

    09/29/2022, 7:16 PM
    oh, right, sorry, i was misunderstanding then
  • w

    witty-island-52596

    09/29/2022, 7:17 PM
    tbh i also assumed improper scaling when I first said it
  • w

    witty-island-52596

    09/29/2022, 7:17 PM
    but as i typed it out, came to that realization
  • b

    bright-gpu-74537

    09/29/2022, 7:18 PM
    does your layout (or similar) work in the builder? I mean, is it a haxeui-flixel issue only?
  • w

    witty-island-52596

    09/29/2022, 7:19 PM
    these image paths are determined at runtime when i talk to a server, and the medalList is empty in the xml. i can try to set it up manually
  • b

    bright-gpu-74537

    09/29/2022, 7:21 PM
    yeah, i mean, just to see if its a) a layout issue on your end b) a layout issue on haxeui's end and, if b, a core issue or a backend issue
  • w

    witty-island-52596

    09/29/2022, 7:47 PM
    http://haxeui.org/builder/?euedxh looks fine here
  • w

    witty-island-52596

    09/29/2022, 7:48 PM
    tried displaying it in flixel in a new project, and it looks all messed up, in an entirely new way
  • w

    witty-island-52596

    09/29/2022, 7:52 PM
    nvm that was unrelated, it shows up messed up the same way
  • b

    bright-gpu-74537

    09/29/2022, 7:52 PM
    OK, cool... so its "b2" then by the sounds of it
  • b

    bright-gpu-74537

    09/29/2022, 7:53 PM
    will check it out (tomorrow)
  • w

    witty-island-52596

    09/29/2022, 7:53 PM
    here's a smaller repro http://haxeui.org/builder/?hsfjvt
  • b

    bright-gpu-74537

    09/29/2022, 7:53 PM
    perfect, yeah, that seems super simple
  • b

    bright-gpu-74537

    09/29/2022, 7:53 PM
    whats that "lock" all about??
  • w

    witty-island-52596

    09/29/2022, 7:54 PM
    i'll try without that too, I'm displaying game medals and whether they are unlocked or not
  • b

    bright-gpu-74537

    09/29/2022, 7:54 PM
    right, gotcha... sounds unrelated
  • w

    witty-island-52596

    09/29/2022, 8:01 PM
    even smaller
  • w

    witty-island-52596

    09/29/2022, 8:02 PM
    happens with grid, vbox and hbox. doesn't happen if i take out the scroll virew
  • b

    bright-gpu-74537

    09/29/2022, 8:03 PM
    is it with width=100%?
  • b

    bright-gpu-74537

    09/29/2022, 8:04 PM
    i mean, is there a parent somewhere with a quantifiable width?
  • b

    bright-gpu-74537

    09/29/2022, 8:04 PM
    still looks odd to me anyway, ill check it out
  • w

    witty-island-52596

    09/29/2022, 8:14 PM
    in this case the parent is the FlxState
  • b

    bright-gpu-74537

    09/29/2022, 8:15 PM
    if you give the scrollview a fixed width, any different?
1...128912901291...1687Latest