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

    melodic-advantage-23638

    01/27/2023, 2:56 PM
    Oops
  • a

    ambitious-knife-25690

    01/27/2023, 3:36 PM
  • a

    ambitious-knife-25690

    01/27/2023, 3:37 PM
    Why doesn't the text take the full width of the frame?
  • b

    bright-gpu-74537

    01/27/2023, 3:38 PM
    http://haxeui.org/builder/?2370b127
  • b

    bright-gpu-74537

    01/27/2023, 3:38 PM
    contentWidth="100%"
    on the scrollview
  • a

    ambitious-knife-25690

    01/27/2023, 3:38 PM
    aahhh
  • a

    ambitious-knife-25690

    01/27/2023, 3:45 PM
  • a

    ambitious-knife-25690

    01/27/2023, 3:46 PM
    I want the text to create a scroll bar within the scroll view whilst keeping the size of the frame
  • b

    bright-gpu-74537

    01/27/2023, 3:47 PM
    then you'll need to give the frame a size
  • a

    ambitious-knife-25690

    01/27/2023, 3:47 PM
    ah, it can't be done off the relative values?
  • b

    bright-gpu-74537

    01/27/2023, 3:48 PM
    % will be fine... that is also "a size"
  • a

    ambitious-knife-25690

    01/27/2023, 3:48 PM
    hmm, i did try that
  • a

    ambitious-knife-25690

    01/27/2023, 3:48 PM
    2 secs
  • a

    ambitious-knife-25690

    01/27/2023, 3:48 PM
    oh nvm lol
  • b

    bright-gpu-74537

    01/27/2023, 3:48 PM
    but at the moment, the width isnt specified on the frame... which means autosized, which means "as big as its children" which are all 100% which means "the size of the parent"
  • a

    ambitious-knife-25690

    01/27/2023, 3:48 PM
    it works now
  • a

    ambitious-knife-25690

    01/27/2023, 3:49 PM
    i wonder what i did wrong before
  • b

    bright-gpu-74537

    01/27/2023, 3:49 PM
    ¯\_(ツ)_/¯
  • a

    ambitious-knife-25690

    01/27/2023, 4:11 PM
  • a

    ambitious-knife-25690

    01/27/2023, 4:11 PM
    I'm trying to add a drop down in a table
  • a

    ambitious-knife-25690

    01/27/2023, 4:11 PM
    is this the right way to do it?
  • f

    full-journalist-82607

    01/27/2023, 4:14 PM
    Seperate the renderers
    Copy code
    xml
    <vbox style="padding: 5px;" width="100%" height="100%">
        <tableview id="tv1" width="100%" height="100%">
                <header width="100%" style="padding-top:-10px;">
                    <column id="colA" width="50%" />
                    <column id="colB" width="50%" />
                </header>
                <item-renderer verticalAlign="center">
                    <label id="colA" text="theme" />
                </item-renderer>
    
                <item-renderer verticalAlign="center">
                    <dropdown id="colB" text="Select Item">
                        <data>
                                <item text="Item 1" />
                        </data>
                    </dropdown>
                </item-renderer>
                <data>
                    <item colA="A1" colB="B1" />
                    <item colA="A2" colB="B2" />
                </data>
        </tableview>
    </vbox>
  • a

    ambitious-knife-25690

    01/27/2023, 4:16 PM
    ohh, it worked but i think my backend aint ready for this 😂
  • a

    ambitious-knife-25690

    01/27/2023, 4:16 PM
    thanks!
  • a

    ambitious-knife-25690

    01/27/2023, 4:17 PM
    it adds the dropdown to everything for some reason 🤣
  • a

    ambitious-knife-25690

    01/27/2023, 4:17 PM
    and dropdown component doesn't work
  • a

    ambitious-knife-25690

    01/27/2023, 4:17 PM
    likely something to do with clipping as well
  • f

    full-journalist-82607

    01/27/2023, 4:22 PM
    ?? i don't understand what you're saying from your image 🙂
  • a

    ambitious-knife-25690

    01/27/2023, 4:22 PM
    I just wanted a dropdown on one row
  • a

    ambitious-knife-25690

    01/27/2023, 4:22 PM
    but it adds it to all the rows
1...143014311432...1687Latest