Cannot set the height of property inspector

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9664
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Cannot set the height of property inspector

Post by dunbarx » Fri Mar 10, 2017 11:49 pm

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...

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9387
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Cannot set the height of property inspector

Post by richmond62 » Sat Mar 11, 2017 7:03 pm

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

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9837
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Cannot set the height of property inspector

Post by FourthWorld » Sat Mar 11, 2017 8:19 pm

Bug report filed?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7237
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Cannot set the height of property inspector

Post by jacque » Sat Mar 11, 2017 8:24 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9664
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Cannot set the height of property inspector

Post by dunbarx » Sun Mar 12, 2017 4:12 am

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

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7237
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Cannot set the height of property inspector

Post by jacque » Sun Mar 12, 2017 4:20 am

I just counted, I see 9.5 lines. I'm in 9.0 though.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Cannot set the height of property inspector

Post by [-hh] » Sun Mar 12, 2017 6:17 am

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
shiftLock happens

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”