Changeset [ce2c6628723517a573c54c26116a7bfe3203a06e] by Aparajita Fishman

September 9th, 2010 @ 09:56 PM

Fixes to previous CPButton image positioning commit.

  • Checkbox and radio selected states would not show in the images. It turns out that the image and alternate image cannot be encoded->decoded->set without messing up the theme, and unfortunately the theme blending task (during a jake build) would do so. So for now this means that we cannot encode non-theme images with a button class, which is unlikely to happen.

  • Since we cannot access themes in the NS classes, I went ahead and started to make some constants in a few control classes so that the values can be changed in one place and affect the theme and nib2cib. http://github.com/280north/cappuccino/commit/ce2c6628723517a573c54c...

Committed by Aparajita Fishman

  • M AppKit/CPButton.j
  • M AppKit/CPCheckBox.j
  • M AppKit/CPRadio.j
  • M AppKit/Themes/Aristo/ThemeDescriptors.j
  • M Tests/Manual/CPButtonImageTest/Resources/MainMenu.cib
  • M Tests/Manual/CPButtonImageTest/Resources/MainMenu.xib
  • M Tools/nib2cib/NSButton.j
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins