How can I find out the number of pixel position between the controls of a NSRunAlertPanel. In Interface Builder we can use the Option+Mouse to find the pixel length.Please help.
Asked
Active
Viewed 91 times
1
-
First, why do you want to know this? What are you trying to do? Second, why are you using `NSRunAlertPanel()`? `NSAlert` is much more flexible. – Jonathan Grynspan Jul 04 '12 at 14:56
1 Answers
2
Just to share the answer,If really need to measure the AlertPanel spacing there is an easy way.
When the Alert is running,press Cmd+Shft+4,drag between the controls,cursor will display the length and width in pixels.

Anoop Vaidya
- 46,283
- 15
- 111
- 140

Akbar
- 1,509
- 1
- 16
- 32