PxPlus User Forum

Main Board => Discussions => Nomads => Topic started by: Ron Klassen on November 06, 2022, 09:00:28 PM

Title: Stretchable Embedded Panel
Post by: Ron Klassen on November 06, 2022, 09:00:28 PM
I have a 2 line stretchable colorized panel with no controls on it, that I want to stretch horizontally along the top line of the window, but no matter what I try it always stretches vertically instead. Any ideas?
The embedded panel is on the main panel.
Title: Re: Stretchable Embedded Panel
Post by: Susan Cryderman on November 07, 2022, 10:02:47 AM
Hi Ron,

I tried creating an embedded panel with a rectangle shape control 2 lines high.  It did not work correctly when the embedded panel height was defined as 3 - but did work when the embedded panel was made higher (14 high).  Only the rectangle is embedded - but the height/width ratio is used when trying to compute  how to stretch the controls.

Hope this helps
Title: Re: Stretchable Embedded Panel
Post by: Ron Klassen on November 07, 2022, 12:56:02 PM
Thanks Susan,

I was able to get it to work by doing this as well. It would be nice if there were options (horizontally, vertically or both) as to how the panel should stretch.