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

    icy-zebra-52882

    02/06/2023, 1:19 PM
    I took it off for having issues
  • i

    icy-zebra-52882

    02/06/2023, 1:19 PM

    https://plzlookat.mystupid.pictures/Main_X6wHQ6h8k3.png▾

  • i

    icy-zebra-52882

    02/06/2023, 1:19 PM
    they don't appear at all for me if I 100%
  • b

    bright-gpu-74537

    02/06/2023, 1:19 PM
    something seems very off there... it doesnt even have a height
  • b

    bright-gpu-74537

    02/06/2023, 1:20 PM
    can you paste your xml as you have now from the screenshot?
  • i

    icy-zebra-52882

    02/06/2023, 1:20 PM
    exactly the same except 100% on textfield width
  • i

    icy-zebra-52882

    02/06/2023, 1:20 PM
    Copy code
    xml
    <tabview width="100%" id="reactionTabview" styleName="full-width-buttons">
                <box width="100%" id="beforeMovieTab" text="Before">
                    <textfield width="100%" id="beforeMovieText" placeholder="Before movie text" disabled="true" />
                </box>
                <box width="100%" id="duringMovieTab" text="During">
                    <textfield width="100%" id="duringMovieText" placeholder="During movie text" disabled="true" />
                </box>
                <box width="100%" id="afterMovieTab" text="After">
                    <textfield width="100%" id="afterMovieText" placeholder="After movie text" disabled="true" />
                </box>
            </tabview>
  • b

    bright-gpu-74537

    02/06/2023, 1:21 PM
    and if you give the textfield a width of, say, 200?
  • i

    icy-zebra-52882

    02/06/2023, 1:22 PM

    https://plzlookat.mystupid.pictures/Main_YTCchcXRZQ.png▾

    shows up again once width is definite rather than %
  • b

    bright-gpu-74537

    02/06/2023, 1:22 PM
    so strange
  • i

    icy-zebra-52882

    02/06/2023, 1:23 PM
    I'd autosize everything but the window ends up being so small that text editing is impractical
  • b

    bright-gpu-74537

    02/06/2023, 1:23 PM
    i presume you are on git version of core, haxeui-hxwidgets and hxWidgets? Not that i think there have been any changes here
  • i

    icy-zebra-52882

    02/06/2023, 1:23 PM
    updated yesterday, I'll go again though
  • b

    bright-gpu-74537

    02/06/2023, 1:23 PM
    wouldnt bother... thats more than up to date
  • b

    bright-gpu-74537

    02/06/2023, 1:24 PM
    i would see if you can repro it in another application
  • b

    bright-gpu-74537

    02/06/2023, 1:24 PM
    ie, just a test app... works as expected this end
  • b

    bright-gpu-74537

    02/06/2023, 1:25 PM
    ah, hang on
  • b

    bright-gpu-74537

    02/06/2023, 1:25 PM
    if i set all the textfields to 100% then i think i can repro
  • b

    bright-gpu-74537

    02/06/2023, 1:25 PM
    can you confirm... set just one of the textfields to 100% and the others just remove the 100%
  • i

    icy-zebra-52882

    02/06/2023, 1:27 PM
    oh god VSC just updated itself and hid the menu bar, I hate it
  • i

    icy-zebra-52882

    02/06/2023, 1:29 PM
    well a quick test app with only one textfield set to 100% worked

    https://plzlookat.mystupid.pictures/Main_0ENjiUpS2L.png▾

  • b

    bright-gpu-74537

    02/06/2023, 1:29 PM
    well, its 100% in different pages of a tabview i suspect... confirming now
  • i

    icy-zebra-52882

    02/06/2023, 1:31 PM
    I think it's something to do with tabview and 100%
  • i

    icy-zebra-52882

    02/06/2023, 1:32 PM
    just a plain
    <tabview>
    whose containers' contents are set to 100%, ends up with something like a 0 width tabview
  • i

    icy-zebra-52882

    02/06/2023, 1:32 PM

    https://plzlookat.mystupid.pictures/Main_OF2s1FEN1E.png▾

  • b

    bright-gpu-74537

    02/06/2023, 1:32 PM
    this is the minimal repro:
    Copy code
    xml
        <tabview width="300">
            <vbox text="Page 1" width="100%">
                <button text="Page 1" width="100%" />
            </vbox>
            <vbox text="Page 2" width="100%">
                <button text="Page 2" width="100%"/>
            </vbox>
            <vbox text="Page 3" width="100%">
                <button text="Page 3" width="100%" />
            </vbox>
        </tabview>
    Ill take a look later (if you take away one of the 100%'s on a button then things are fine... ... ... or if you give the tabview a fixed height)
  • i

    icy-zebra-52882

    02/06/2023, 1:33 PM
    merci beaucoup
  • b

    bumpy-engineer-49082

    02/06/2023, 2:01 PM
    What other markups does hxui support?
  • i

    icy-zebra-52882

    02/06/2023, 2:04 PM
    as in for defining layouts?
  • i

    icy-zebra-52882

    02/06/2023, 2:04 PM
    AFAIK it's just XML
1...146714681469...1687Latest