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

    bright-gpu-74537

    04/22/2020, 3:46 PM
    got a minimal test app?
  • m

    magnificent-caravan-75149

    04/22/2020, 3:46 PM
    could it be the button image can't be scaled up?
  • b

    bright-gpu-74537

    04/22/2020, 3:46 PM
    maybe, can you try with the image and css above?
  • b

    bright-gpu-74537

    04/22/2020, 3:46 PM
    maybe your co-ords are off?
  • m

    magnificent-caravan-75149

    04/22/2020, 3:47 PM
    the last # is the width?
  • b

    bright-gpu-74537

    04/22/2020, 3:47 PM
    nope
  • b

    bright-gpu-74537

    04/22/2020, 3:47 PM
    two secs
  • m

    magnificent-caravan-75149

    04/22/2020, 3:48 PM
    xy top left, xy bottom right?
  • b

    bright-gpu-74537

    04/22/2020, 3:48 PM
    yeah, i think so
  • b

    bright-gpu-74537

    04/22/2020, 3:48 PM
    Copy code
    case "background-image-slice":    
        processComposite(d, ["background-image-slice-top", "background-image-slice-left", "background-image-slice-bottom", "background-image-slice-right"]);
  • b

    bright-gpu-74537

    04/22/2020, 3:49 PM
    top, left, bottom, right
  • m

    magnificent-caravan-75149

    04/22/2020, 3:53 PM
    I'll play a bit more with it - and send u a message when I get it up on github. More than likely it's some noob thing I'm doing. But the opacity thing was definitely a KHA implementation issue that works on native but not on HTML Debug in KodeStudio
  • b

    bright-gpu-74537

    04/22/2020, 3:53 PM
    it uses those co-ords to cut parts out of the image and stretch them appropriately:
  • m

    magnificent-caravan-75149

    04/22/2020, 3:53 PM
    like a nine patch
  • b

    bright-gpu-74537

    04/22/2020, 3:53 PM
    exactly, yeah... just wanted to make sure you knew what it was trying to do 🙂
  • b

    bright-gpu-74537

    04/22/2020, 3:54 PM
    easiest way is to replace your image and your co-ords with the one above, as that defo works on my end
  • m

    magnificent-caravan-75149

    04/22/2020, 3:55 PM
    yeah I can get the button image to display, it is just smaller than the text
  • b

    bright-gpu-74537

    04/22/2020, 3:55 PM
    the you know if its something else or your co-ords... alternatively, you can give me the co-ords and the image and i can test it
  • b

    bright-gpu-74537

    04/22/2020, 3:55 PM
    probably easier to see some code, as something sounds off
  • a

    ambitious-knife-25690

    04/22/2020, 3:56 PM
    something may be off if Ian is using VSCode and Choo is using KodeStudio
  • a

    ambitious-knife-25690

    04/22/2020, 3:56 PM
    KodeStudio runs very outdated stuff
  • b

    bright-gpu-74537

    04/22/2020, 3:56 PM
    hmmmm
  • b

    bright-gpu-74537

    04/22/2020, 3:57 PM
    either way, once there is some code it will be alot easier to see whats going on
  • m

    magnificent-caravan-75149

    04/22/2020, 5:08 PM
    @User it seemed to be some funky thing going on with the button image I made. I made a 400px version instead of the 100px and it is working ok. There still is a bit of strange layout things going on when moving to native linux but it looks like an XML thing since I am using % for width and height of boxes.
  • m

    magnificent-caravan-75149

    04/22/2020, 5:09 PM
    Either way - I'll still let you know when the code is up for you to give it a try
  • m

    most-caravan-45834

    04/22/2020, 5:25 PM
    Is haxe-ui is expected to work with Hashlink?
  • m

    most-caravan-45834

    04/22/2020, 5:26 PM
    I'm using openfl-backend
  • m

    magnificent-caravan-75149

    04/22/2020, 5:42 PM
    @User ok - this works on Linux and HTML - set the image slice equal to the dimensions of the button image. Works like gangbusters 🙂
  • b

    bright-gpu-74537

    04/22/2020, 6:01 PM
    @User .. ... i guess? Ive never actually tried, but if openfl works i would expect it to work also @User - So thats all working? Got an screen shot / code?
  • m

    magnificent-caravan-75149

    04/22/2020, 6:09 PM
    @User I'll post it up tomorrow once I clean up the directories and add some comments
1...199200201...1687Latest