Hi gang. I hope everyone’s having a decent summer.
I have some curiosities… perhaps others can clear my mental fog.
At console - as a WARNING: Control (Name:skap1butt, UniqueId:14) is using width in percentage mode inside a horizontal StackPanel.
But, that width issue… causes the button to NOT display in the horz stackpanel within the orange-border rect. SO, at console, it’s really a SHOW-STOPPER (red) and not a warning (yellow), right?
That’s not important. What MIGHT BE important… is that I have set no width on the button. The warning is coming from DEFAULT width… and so is the failure to display. Gui system is causing the button to fail display and gen the warning.
Activate line 52, and the button appears.
I would THINK… that the button should appear WITHOUT needing a user-set width, also without a warning, and its width should be the full width of the rect (horz stackpanel would stretch width to 100% fit its rect container width). Yes?
Thoughts? I think I should be able to load-up that horz stack with no-width buttons, and they equally share the width of the rect. Bug? Normal? Wingnut stupidity festival? (thx for ideas/info/help)
update: Add toppanel.adaptWidthToChildren = true; … then width-less button displays, and acts as I wish, but still has warning. Interesting.