Diana Posted September 11, 2018 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Share Posted September 11, 2018 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 Quote Link to comment Share on other sites More sharing options...
0 Akkarin Posted September 11, 2018 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1632 Joined: 03/26/12 Last Seen: April 15 Share Posted September 11, 2018 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. Quote Link to comment Share on other sites More sharing options...
0 Diana Posted September 11, 2018 Group: Members Topic Count: 85 Topics Per Day: 0.03 Content Count: 194 Reputation: 3 Joined: 12/17/16 Last Seen: April 1 Author Share Posted September 11, 2018 @Akkarin ,Thank you for replying but please tell me about the LEFT and TOP? How can I know them? Quote Link to comment Share on other sites More sharing options...
0 fTakano Posted September 12, 2018 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 31 Reputation: 12 Joined: 07/02/12 Last Seen: Yesterday at 01:20 AM Share Posted September 12, 2018 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" Quote Link to comment Share on other sites More sharing options...
0 Akkarin Posted September 12, 2018 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1632 Joined: 03/26/12 Last Seen: April 15 Share Posted September 12, 2018 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. 1 Quote Link to comment Share on other sites More sharing options...
Question
Diana
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
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.