Page 1 of 1

Cannot set the height of property inspector

Posted: Fri Mar 10, 2017 11:49 pm
by dunbarx
OK. Fine.

I am going to try, again, to migrate to 8.

Anyone know how to set the height of the property inspector? I have a control with a custom property that is a list of a few dozen lines. I would love to see it. As it stands, about
3.5 lines appear in a scrolling field. Hey, at least it scrolls.

There is the usual "height" resize tool, but it does not allow me to change the palette height, only the width.

I promise to be less cantankerous in the future.

Maybe.

Craig

EDIT.

See, only a few minutes later, and I am pleased that arrays in custom properties are directly viewable in the property inspector. This is good...

Re: Cannot set the height of property inspector

Posted: Sat Mar 11, 2017 7:03 pm
by richmond62
Um; thanks to your post I found out the props palette in 8.1.3 can be "fattened" but it cannot be lengthened; which seems ODD.

Tried and failed:
Screen Shot 2017-03-11 at 8.03.03 pm.png

Re: Cannot set the height of property inspector

Posted: Sat Mar 11, 2017 8:19 pm
by FourthWorld
Bug report filed?

Re: Cannot set the height of property inspector

Posted: Sat Mar 11, 2017 8:24 pm
by jacque
I have a control with a custom property that is a list of a few dozen lines. I would love to see it. As it stands, about
3.5 lines appear in a scrolling field.
I see room for about a dozen lines at the default size.

Re: Cannot set the height of property inspector

Posted: Sun Mar 12, 2017 4:12 am
by dunbarx
Since others have seen this, I filed a bug. But then I saw that Richard Hawkins may have already done so with 17583.

Craig

@ Jaque:

My palette only shows a few lines. Barely

Re: Cannot set the height of property inspector

Posted: Sun Mar 12, 2017 4:20 am
by jacque
I just counted, I see 9.5 lines. I'm in 9.0 though.

Re: Cannot set the height of property inspector

Posted: Sun Mar 12, 2017 6:17 am
by [-hh]
The height of the property palette is hard coded by constants.
Without editing several files you can steel a few lines from the props listing for your values field by changing one line:

line 90 of
LC application..../Tools/Toolset/palettes/inspector/editors/com.livecode.pi.customprops.behavior.livecodescript

change constant kValueFieldHeight = 63
to constant kValueFieldHeight = 126