Development:Editing Nibs
Jump to navigation
Jump to search
Follow the general guidelines in the Aqua Human Interface Guidelines about positioning controls and center-equalization, with exceptions as noted below.
- Be sure you do not break the focus and tab cycle (both normal and Full Keyboard Access) when adding or changing controls in nibs.
- Make sure the initialFirstResponder is correctly set to the first element which should have focus (even though Bug 327203 currently blocks this in prefPanes).
- It's important that all prefPane windows have a width of 595 px (since they will be forced to that dimension in the actual prefs window).
- Application names in nibs should be capitalized. Any quotations should use curly quote characters. Omit the comma before the last item in a series.
- website, web pages, Internet, URL, Location bar, pop-up, text field.
When modifying nibs, keep the following template in mind (from discussion over Bug 308942).
Error creating thumbnail: Unable to save thumbnail to destination
Despite the image above, all hint text should be left-aligned with the left edge of the widget for which the text provides a hint.