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

    ambitious-knife-25690

    02/27/2023, 5:33 PM
    i assumed i didn't need display because i'm not doing any scaling internally
  • b

    bright-gpu-74537

    02/27/2023, 5:33 PM
    well, but arent you trying to do scaling now? 😄
  • b

    bright-gpu-74537

    02/27/2023, 5:34 PM
    validateDisplay is called when image size is "ready"
  • a

    ambitious-knife-25690

    02/27/2023, 5:34 PM
    but it would be handled "fine" with the dimensions i pass, no?
  • b

    bright-gpu-74537

    02/27/2023, 5:35 PM
    well, i dont think _imageWidth / _imageHeight have been set at that point... there is a whole invalidation / validation sequence going on here
  • b

    bright-gpu-74537

    02/27/2023, 5:35 PM
    its not just "copy this property from the xml to the backend", its "queue something to happen", then "do some things", then "let things know you did some things"
  • a

    ambitious-knife-25690

    02/27/2023, 5:36 PM
    ahhah
  • a

    ambitious-knife-25690

    02/27/2023, 5:36 PM
    there we go
  • b

    bright-gpu-74537

    02/27/2023, 5:36 PM
    is _imageWidth / _imageHeight correct in
    validateDisplay
    ?
  • b

    bright-gpu-74537

    02/27/2023, 5:36 PM
    cool... 👌
  • a

    ambitious-knife-25690

    02/27/2023, 5:37 PM
    there we go, i think ceramic images are done now 😄
  • b

    bright-gpu-74537

    02/27/2023, 5:37 PM
    noice...
  • a

    ambitious-knife-25690

    02/27/2023, 5:37 PM
    web, file, resources and ceramic's own setup work
  • b

    bright-gpu-74537

    02/27/2023, 5:37 PM
    very nice... 👏
  • b

    bright-gpu-74537

    02/27/2023, 5:38 PM
    hows the default font size looking now?
  • a

    ambitious-knife-25690

    02/27/2023, 5:38 PM
    it's the same
  • b

    bright-gpu-74537

    02/27/2023, 5:38 PM
    gotcha
  • b

    bright-gpu-74537

    02/27/2023, 5:38 PM
    do different font sizes work?
  • a

    ambitious-knife-25690

    02/27/2023, 5:39 PM
    i believe they do, can't recall, hmm..
  • a

    ambitious-knife-25690

    02/27/2023, 5:39 PM
    yeah
  • a

    ambitious-knife-25690

    02/27/2023, 5:40 PM
    the text box has different sized fonts
  • b

    bright-gpu-74537

    02/27/2023, 5:40 PM
    nice... might want to consider making the default font size smaller? Tiny bit of css in your module could do that for you
  • a

    ambitious-knife-25690

    02/27/2023, 5:41 PM
    i'll mess with that now
  • b

    bright-gpu-74537

    02/27/2023, 5:41 PM
    you could even just do it in TextDisplayImpl... ive done it that way too
  • b

    bright-gpu-74537

    02/27/2023, 5:42 PM
    like "if the font size isnt set, use this"
  • b

    bright-gpu-74537

    02/27/2023, 5:42 PM
    your call, it ends up mostly the same either way
  • a

    ambitious-knife-25690

    02/27/2023, 5:43 PM
    i'll prob do the stylesheet, seems the best way to change things like this
  • b

    bright-gpu-74537

    02/27/2023, 5:43 PM
    true enough... less easy to accidently forget where you put it
  • a

    ambitious-knife-25690

    02/27/2023, 5:43 PM
    ceramic text seems "bigger" than what i'm used to
  • b

    bright-gpu-74537

    02/27/2023, 5:44 PM
    i think the default text size is big because most games would tend to have bigger text, not smaller
1...154615471548...1687Latest