Welcome to %s forums

BrainModular Users Forum

Login Register

not resizable Panel

Create your own modules in C++
Post Reply
Gizzeta
Member
Posts: 42
Location: Paris
Contact:

Unread post by Gizzeta » 25 Aug 2009, 18:29

...and is there a way to make the module panel not resizable by the user?

pansoul
Member
Posts: 39
Contact:

Unread post by pansoul » 25 Aug 2009, 19:57

Sorry Gizzeta if i post on the same topic without response but i have a question about the same subject

with drawpad example for example if if put


pModuleInfo->DefaultWidth = 400;
pModuleInfo->DefaultHeight = 600;

instead of

pModuleInfo->DefaultWidth = pMasterInfo->PanelWidth;
pModuleInfo->DefaultHeight = DEFAULT_MODULEHEIGHT;

and that i put the module in Interface builder mode the size is not 400*600 but is the same that in control panel mode
is there a way to change that

thanks

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 25 Aug 2009, 23:00

@guido:
actually no way : the panels are supposed re-sizable by users.
we'll think about a flag to make the panel size fixed. I hope soon.

@pansoul:
the default size is managed by usine in order to fit with the default control panel size in grid mode. Actually there is no way to change this behavior.
but as this pb is very connected to the @guido's question, I hope we'll finf a solution soon.

Post Reply

Who is online

Users browsing this forum: No registered users and 42 guests