cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
lehaofeng
Level V

Can't change the size of the spacer box?

I'm a beginner in application builder, I use spacerbox, sometimes the width can't be adjusted, sometimes the height can't be adjusted

lehaofeng_0-1707100959474.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ressel
Level VI

Re: Can't change the size of the spacer box?

Got it. You need to do the below in addition to disabling stretching.

 

Change this:

Ressel_0-1730665637187.png

 

To this:

Ressel_1-1730665656087.png

 

View solution in original post

3 REPLIES 3
Ressel
Level VI

Re: Can't change the size of the spacer box?

Interesting that there's no response. I'm having the same issue, but at least I got the size down to the default value after unticking "Enabled" under the "Stretching" outline box in the Properties. However, the values of 18 and 23 don't respond at all. I'd understand if size were restricted in one dimension, but both!?

 

Ressel_0-1730665137302.png

 

Anyone who knows how to solve this or is the solution hidden in Need help with scripting Panel Box ?

Ressel
Level VI

Re: Can't change the size of the spacer box?

Got it. You need to do the below in addition to disabling stretching.

 

Change this:

Ressel_0-1730665637187.png

 

To this:

Ressel_1-1730665656087.png

 

Re: Can't change the size of the spacer box?

Spacers are often used to add variable amounts of space between boxes, which is the use case for stretching.  If you are using fixed-size spacers, another option would be to add margin to the boxes that you want to separate.  In some cases the variable-spacing can be accomplished with the alignment options - for example, to right-align some buttons at the bottom of a dialog.

 

danschikore_1-1730679659592.png