Hey,
I’m trying to list two checkboxes vertically, but the second checkbox isn’t showing…
https://playground.babylonjs.com/#65QHT7
I’ve tried to add “TextBlock” instead of using “AddHeader”, but it keeps showing warnings:
“Control (Name:undefined, UniqueId:10) is using width in percentage mode inside a horizontal StackPanel”
Any idea?
Thanks!
I build an example for you:
You were on the right track with using TextBlocks but keep the following in mind:
The StackPanel is a control which stacks its children based on its orientation (can be horizontal or vertical). All children must have a defined width or height (depending on the orientation) in pixels (A warning will be written to the console if this is not true).
3 Likes
Got it. Thanks!