Config up pane size

Posted on
Sun Sep 01, 2019 12:06 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Config up pane size

Is there anyway to force the size of a ConfigUI pane? I have a Menuitem UI that has only one visible entry when it opens, then after a button is pressed, more fields become visible. The only problem is the pane is sized for the initial one menu item, one button display and when the hidden fields become visible, the pane must be dragged larger.

I could just start with all the fields visible, they are empty and readonly and the pane will size correctly. Except, the checkboxes are "writeable" and imply they can somehow be used. I can disable them, but at the cost of graying out their labels. No huge deal, just having fun and trying to push the envelope a bit I guess.

Posted on
Sun Sep 01, 2019 12:16 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Config UI pane size

To illustrate...
Screen Shot 2019-09-01 at 20.12.38.png
Screen Shot 2019-09-01 at 20.12.38.png (103.59 KiB) Viewed 1600 times

Screen Shot 2019-09-01 at 20.12.46.png
Screen Shot 2019-09-01 at 20.12.46.png (114.11 KiB) Viewed 1600 times
Last edited by berkinet on Mon Sep 02, 2019 3:11 am, edited 1 time in total.

Posted on
Sun Sep 01, 2019 1:53 pm
matt (support) offline
Site Admin
User avatar
Posts: 21416
Joined: Jan 27, 2003
Location: Texas

Re: Config up pane size

Set the alwaysUseInDialogHeightCalc attribute on your invisible controls:

alwaysUseInDialogHeightCalc="true"

Image

Posted on
Sun Sep 01, 2019 2:35 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Config up pane size

matt (support) wrote:
Set the alwaysUseInDialogHeightCalc attribute on your invisible controls:

alwaysUseInDialogHeightCalc="true"

:D Thanks

Posted on
Wed Sep 04, 2019 6:03 am
DaveL17 offline
User avatar
Posts: 6751
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Config up pane size

matt (support) wrote:
Set the alwaysUseInDialogHeightCalc attribute on your invisible controls:

alwaysUseInDialogHeightCalc="true"

Nice. I didn't know about that one.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Mar 13, 2023 3:21 am
GlennNZ offline
User avatar
Posts: 1562
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Config up pane size

Hi all,

Can we add this to the documentation - couldn't seem to find it there and took this search. to find something thought existed

Thanks!

Posted on
Mon Mar 13, 2023 5:26 am
DaveL17 offline
User avatar
Posts: 6751
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Config up pane size


I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests