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

    full-journalist-82607

    03/08/2023, 12:29 PM
    arghh no .. in fact it doesn't work for me, because I'm using slicing too ^^ maybe .. a moment
  • b

    bright-gpu-74537

    03/08/2023, 12:30 PM
    yeah, i think slice and repeat are mutually exclusive
  • b

    bright-gpu-74537

    03/08/2023, 12:30 PM
    but if you know how high your "book" is going to be, then you can just make your "tile" (shelf) that height and use repeat, no?
  • f

    full-journalist-82607

    03/08/2023, 12:32 PM
    the problem is the right and left side
  • f

    full-journalist-82607

    03/08/2023, 12:32 PM
    but maybe I should change the image or do a custom container that creates the hboxes automatically
  • b

    bright-gpu-74537

    03/08/2023, 12:32 PM
    http://haxeui.org/builder/?d9412700
  • b

    bright-gpu-74537

    03/08/2023, 12:33 PM
    the rules could be images or something?
  • b

    bright-gpu-74537

    03/08/2023, 12:33 PM
    you'll have to get all ikea and construct your bookcase 😄
  • b

    bright-gpu-74537

    03/08/2023, 12:34 PM
    even with 9slice, you are going to have a hard time giving it a single image, and it "cut out" the shevles and repeat those along one axis, but leave the sides / top intact
  • f

    full-journalist-82607

    03/08/2023, 12:36 PM
    I think I have an idea. I'll post the result ( if there is a result :P) but first now that given me the idea of having book cover for each book, I need to fight with inkscape to have some cool book cover 😉
  • b

    bright-gpu-74537

    03/08/2023, 12:37 PM
    you are basically saying, slice9 the red and stretch etc, but cut out the blue and repeat it as a background-repeat... which isnt how slice9 or background-repeat work
  • f

    full-journalist-82607

    03/08/2023, 12:38 PM
    no not exactly I basically want .... one moment I'll make an image
  • f

    full-journalist-82607

    03/08/2023, 12:44 PM
    And it being one continuous horizontal box , so I can resize easily for landscape/portrait/computers/smartphones
  • b

    bright-gpu-74537

    03/08/2023, 12:44 PM
    ah
  • b

    bright-gpu-74537

    03/08/2023, 12:45 PM
    🤔
  • b

    bright-gpu-74537

    03/08/2023, 12:47 PM
    the problem i foresee is know how many rows there are
  • b

    bright-gpu-74537

    03/08/2023, 12:47 PM
    actually, i have an idea... two ticks
  • b

    bright-gpu-74537

    03/08/2023, 12:50 PM
    http://haxeui.org/builder/?2ef114d2 ?
  • f

    full-journalist-82607

    03/08/2023, 12:52 PM
    yeah it's the layout that counts the rows
  • f

    full-journalist-82607

    03/08/2023, 12:53 PM
    Oh indeed nice trick
  • b

    bright-gpu-74537

    03/08/2023, 12:53 PM
    what about the layout above... main difference between that and you example is the shelves will always be full sized
  • f

    full-journalist-82607

    03/08/2023, 12:56 PM
    hmm, seems nice ! I think it should be okay . In fact I need some resizing only on the sides horizontally , so I don't really care if the vertical part is always the same size.
  • b

    bright-gpu-74537

    03/08/2023, 12:57 PM
    well, i meant the size of the shelf horizontallly
  • f

    full-journalist-82607

    03/08/2023, 12:59 PM
    Oh ok, but it's not a problem 🙂 I don't really need the size the size of the self to match the number of books 🙂
  • b

    bright-gpu-74537

    03/08/2023, 12:59 PM
    cool 👌 Probably more "shelf like" anyway if they arent varying widths
  • f

    full-journalist-82607

    03/08/2023, 1:00 PM
    Yeah exactly 🙂 Thanks for the brainstorming !
  • b

    bright-gpu-74537

    03/08/2023, 1:02 PM
    np 🙂 Be interested to see what something more "real" ends up looking like
  • f

    full-journalist-82607

    03/08/2023, 1:03 PM
    Okay ! I'll post it when it's coded ! 🙂
  • t

    tall-teacher-57409

    03/08/2023, 2:48 PM
    does the neko target work?
  • a

    ambitious-knife-25690

    03/08/2023, 2:48 PM
    neko isn't related to haxeui 🤔
1...158615871588...1687Latest