Main Board > Nomads

Resizing without Resizing

(1/1)

James Zukowski:
When we set up many of our panels, we set them as Resizable/Custom with the various controls anchored how we want them. Part of this is to ensure we don't have any (including a logo picture) trying to be set up beyond the edges. I've noticed that this essentially sets the minimum size of the panel based on the designed size. This only allows the user to make the panel larger, but not smaller.

Has anyone got an idea about how to set a small minimum size, but initialize the panel at a somewhat larger "default" size, which would allow the user to resize the panel larger or smaller?

Thanks, all!

Mike King:
The system is designed such that the panel size you specified during the design stage (i.e. the dimensions used by Nomads designer) represent the smallest panel size you want.  When displayed the user can set the size larger but not smaller.

As for setting the initial size you could try issuing a PRINT 'SIZE'(nn,nn), in the panel post display logic.  This will set the screen size if there is no saved user defined size on file.

James Zukowski:
Looks pretty good, Mike!

The only thing is that it goes through the resize logic a second time, so it does a "double-take" when starting up.

Thanks for the idea!

Navigation

[0] Message Index

Go to full version