Is there a way to make the windows smaller than the limit? In IB you can’t make the window smaller than a certain width/height. Is there a way to make smaller windows?
hmm - the smallest size I could set in Interface builder is 72 pixels wide and 5 pixels high (+ the title bar height). That’s too large for you? I think that’s only a few pixels more than the minimum size necessary to show the three title bar controls.
You can get this size when you set it’s title to “” and enter these values in the ‘Size’ tab (hit Apple+3) of IB’s Inspector panel:
Min w: 72 h: 5
Width/Height:
- w: 72
- h: 5
If you really need a smaller window then you have to use a window type without title bar. How to? Do a search for ‘NSBorderlessWindowMask’ - it has been described several times here (needs some Objective-C)
In the size pane in IB, underneath where you set the origin and size of the window, are two more sets of text fields that set the minimum and maximum allowed width of the window. By default the minimum values are set to some arbitrary value, but you can change them to allow for a smaller window size. As dominik said, if you want something smaller, you’ll have to subclass the window and create a borderless window… which I’d assume can be any size down to 1px by 1px.
j