Open a resizable window

Discussion about recent product features & solutions!
3 posts • Page 1 of 1
nmnogueira
Posts:125
Joined: Thu May 05, 2011 12:59 pm

Open a resizable window

Post by nmnogueira »

Hi all,

I would like to open a resizable window, when the following configuration is done in the config file:

Code: Select all

[ui]
visionScreenMode = "noTitleBar"
visionResizeMode = "None"
childSystemMenu = 0
My problem is that child panels are not resizable (due the options above), so I would need to use ModuleOnWithPanel() which has a "resizeMode" option which I can set to "Scale". But because visionScreenMode = "noTitleBar", my modules do not have the frame and the title bar so I cannot resize them...

My main goal is to be able to open several trend windows which can be moved and resized by the operator.

Any idea?

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Open a resizable window

Post by mkoller »

ChildPanels are never resizeable, except the panel uses a layout.

nmnogueira
Posts:125
Joined: Thu May 05, 2011 12:59 pm

Re: Open a resizable window

Post by nmnogueira »

You are correct, of course!

I just noticed that it works fine if I open it as a child panel with a layout. Just what I needed.

Thanks!

3 posts • Page 1 of 1