You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to the tabletop UI and currently learning how to build a UI. I have read all the tutorials from the website and steam. I decided I'd start with a basic UI someone else created which looks similar to what I want and tweak it from there. Eventually I ran into some weird results so I stripped everything back until I got just this basic UI (it doesn't do anything but that's not the point for this exercise).
This will produce a basic UI on the side with a grey background and white title with the words "Roll calculator".
If you change this code to embed the row element inside a <VerticalLayout> tag AND set childForceExpandHeight to false,it doesn't acknowledge the color attribute of the row (which makes it white), the row ends up being grey. It also doesn't render the row element at all, even if I add height and preffered heigh attributes.
It's as if it can't see the row element. So, I made the asumption that this is because row is a child of the tablelayout element, and ammended it again, this time encapsulating the row tag inside a tablelayout tag. Same result.
What makes it even stranger is that if I remove the tablelayout tag (so we are back to second block of code above), but set the verticallayout childForceExpandHeight to true, it now honours the color attribute for row (sets it back to white).
All of this is really inconsistent. Is this a known issue or am I doing something wrong? Can row elements be nested in other elements and are they processed correctly normally or must they always be inside tablelayout?
thanks,
The text was updated successfully, but these errors were encountered:
I am new to the tabletop UI and currently learning how to build a UI. I have read all the tutorials from the website and steam. I decided I'd start with a basic UI someone else created which looks similar to what I want and tweak it from there. Eventually I ran into some weird results so I stripped everything back until I got just this basic UI (it doesn't do anything but that's not the point for this exercise).
This will produce a basic UI on the side with a grey background and white title with the words "Roll calculator".
If you change this code to embed the row element inside a
<VerticalLayout>
tag AND setchildForceExpandHeight
to false,it doesn't acknowledge thecolor
attribute of the row (which makes it white), the row ends up being grey. It also doesn't render therow
element at all, even if I addheight
andpreffered
heigh attributes.It's as if it can't see the row element. So, I made the asumption that this is because
row
is a child of thetablelayout
element, and ammended it again, this time encapsulating the row tag inside a tablelayout tag. Same result.What makes it even stranger is that if I remove the
tablelayout
tag (so we are back to second block of code above), but set theverticallayout childForceExpandHeight
totrue
, it now honours the color attribute for row (sets it back to white).All of this is really inconsistent. Is this a known issue or am I doing something wrong? Can row elements be nested in other elements and are they processed correctly normally or must they always be inside tablelayout?
thanks,
The text was updated successfully, but these errors were encountered: