cocoa - Setting Horizontal Line (NSBox) line width in Interface Builder -
I have an application that I am creating using a horizontal line (that is, NSBox Is only a special case of
). I have put the component in the interface, but what to do to adjust the thickness of the line
NSBox
has a setBorderWidth
method, but when If it appears in the interface builder then it does not appear, I prefer not to do this manually, because I do not want to maintain an object to accommodate this object.
Is there a way to set it up through the interface builder, which I remember?
Or, if unsuccessful, there is a better way to put horizontal lines in your UI, can you control its features through the interface builder?
On the attribute pane of the inspector, set the threshold type to custom, then on the shape panel, the border width Set as required.
Comments
Post a Comment