spritebuilder / SpriteBuilder

Objective-C Game Development Suite
http://www.spritebuilder.com/
Other
739 stars 292 forks source link

Default values of CCButton's Preferred size isn't correct. It should be greater than the value which is shown. #1577

Open Shahidwerplay opened 9 years ago

Shahidwerplay commented 9 years ago
  1. Launch Application.
  2. Create an empty project.
  3. Drag and drop a CCButton onto the stage.
  4. In property inspector check out the value of CCButton's preferred size. (X=40,Y=40).

Note! Changing the value of width i.e. X to 50 or 60 doesn't have any effect on the size of the button. Size changes when X is increased to 70 and above.

--Result: Default values of CCButton's Preferred size isn't correct. It should be greater than the value which is shown.

SB Version: Latest Develop Branch (2.0) SB Revision: 02eedd13c8 Mac OS 10.10.0 XCode 6.1

Video Link: https://drive.google.com/file/d/0B5-RfBatv-b8NjdzV3ZnQXFwOEU/view?usp=sharing