Changeset [64f930999456c5397e4b88456619db963b57ec1c] by Alexander Ljungberg
Revision 64f930999456c5397e4b88456619db963b57ec1c,
committed by Alexander Ljungberg
· May 19th, 2011 @ 03:54 PM
Merge pull request #1268 from primalmotion/cappuccino
This patch makes nib2cib dealing with NSButtons much more better
by setting particular offsets
according to the the kind of button.
Here is a screenshot of what I have done in IB :
http://img839.imageshack.us/img839/4379/19894787.png
This is the rendering of nib2cib without this patch:
http://img263.imageshack.us/img263/1708/without.png
This is the rendering of nib2cib with this patch:
http://img263.imageshack.us/img263/1097/with.png
https://github.com/280north/cappuccino/commit/64f930999456c5397e4b8...
12 changed files
-
A
Tests/Manual/Nib2CibAligment/AppController.j -
A
Tests/Manual/Nib2CibAligment/Info.plist -
A
Tests/Manual/Nib2CibAligment/Jakefile -
A
Tests/Manual/Nib2CibAligment/Resources/MainMenu.cib -
A
Tests/Manual/Nib2CibAligment/Resources/MainMenu.xib -
A
Tests/Manual/Nib2CibAligment/Resources/spinner.gif -
A
Tests/Manual/Nib2CibAligment/index-debug.html -
A
Tests/Manual/Nib2CibAligment/index.html -
A
Tests/Manual/Nib2CibAligment/main.j -
M
Tools/nib2cib/NSButton.j -
M
Tools/nib2cib/NSPopUpButton.j -
M
Tools/nib2cib/NSTextField.j