• 0
Diana

Need information about Thor patcher dimensions

Question

for example : 

[NoticeBox:Box0]
Width=525
Height=316
Left=14
Top=176
 

how can I know width and height  or left and top?

by trying or can with some program?

I tried to use photoshop but the width and height like 5.654 and 3.412 not like 540 - 35 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

If height is 316 and top is 176, then the notice window will be positioned 176 pixels from the top of the patcher window and be 316 pixels wide.

In photoshop, you can use the image info window to see the pixel dimensions of the image, so that would be your width and height. Your top and left would be where you want the most upper-left corner of your image/box/button to start.

You can then keep it centred by grabbing the total width of the patcher, then minus the width of the object, divide by two will give you the value for Left. e.g:

Patcher = 500px. Notice box = 460px. 500 - 460 = 40px. 40px width between the notice box and the edge of the patcher itself. 40 / 2 = 20px. Left will be 20px to give a 20px overhang on the otherside of the notice box.

Share this post


Link to post
Share on other sites
  • 0

In Photoshop, make sure that your Rulers must be set in pixels.

First you need to press CTRL + R on your keyboard to show the rulers on your work area.

Next, right click the ruler and select "Pixels"

Share this post


Link to post
Share on other sites
  • 0
20 hours ago, Diana said:

please tell me about the  LEFT and TOP

This is how many pixels from the left-most edge you want your element to be positioned. Top is the same but counting pixels from the top of the patcher.

  • Upvote 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...