Редактирование: Pixel-Perfect Mac + Plastique
Материал из Wiki.crossplatform.ru
Внимание: Вы не представились системе. Ваш IP-адрес будет записан в историю изменений этой страницы.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
Текущая версия | Ваш текст | ||
Строка 1: | Строка 1: | ||
- | + | ||
+ | __NOTOC__ | ||
by Jasmin Blanchette | by Jasmin Blanchette | ||
Apple provide detailed specifications of how Mac OS X applicationsshould look and behave. One aspect of these specifications is thespacing that should be used between widgets on a form. Foraesthetic reasons, Apple requires different values to be used fordifferent widgets. Starting with Qt 4.3, the layout and style systemstalk together to take this into account, rather than using amiddle-of-the-road value. The result? Dialogs that look perfect onthe Mac. Having just seen the light, we rushed to try out the samewith Plastique, the default X11 style. | Apple provide detailed specifications of how Mac OS X applicationsshould look and behave. One aspect of these specifications is thespacing that should be used between widgets on a form. Foraesthetic reasons, Apple requires different values to be used fordifferent widgets. Starting with Qt 4.3, the layout and style systemstalk together to take this into account, rather than using amiddle-of-the-road value. The result? Dialogs that look perfect onthe Mac. Having just seen the light, we rushed to try out the samewith Plastique, the default X11 style. | ||
- | + | <!--break--> | |
- | + | *[[#theaquaguidelines | The Aqua Guidelines]] | |
+ | *[[#variablemarginsandspacings | Variable Margins and Spacings]] | ||
+ | *[[#thelayoutitemrectangle | The Layout Item Rectangle]] | ||
+ | *[[#othervisualimprovementsformacosx | Other Visual Improvements for Mac OS X]] | ||
+ | *[[#conclusion | Conclusion]] | ||
+ | <div id="theaquaguidelines"></div> | ||
===The Aqua Guidelines=== | ===The Aqua Guidelines=== | ||