Files
cappuccino/AppKit
Alexandre Wilhelm e4516c19d3 Fixed: CPSegmentedControl doesn't support small and mini control
Previously, when changing the controlSize of a CPSegmentedControl, Cappuccino didn't have the theme to do that.
Now, Cappuccino supports the controlSize small and mini. Aristo and Aristo2 have new attributes for that.
The attribute theme "default-height" has been replaced by "min-size" and "max-size" (used everywhere else in Cappuccino).
The CPSegmentedControl has now the theme attribute "nib2cib-adjustment-frame".

This pull request fixed alignment issue when adding a CPSegmentedControl from xCode. In the method initWithCode, we didn't care about the divider thickness, now we do. This same method will also add leftovers pixel to have exactly the same size as in xCode. Leftovers pixels are here because FLOOR operation and size of the font.

Manual test in Tests/Manual/CPSegmentedControlTest
Manual test in Tests/Manual/Nib2CibAlignment
2014-10-22 15:29:40 -07:00
..
2014-09-05 13:00:48 -07:00
2013-01-23 15:48:55 +07:00
2013-08-12 23:31:34 -04:00
2013-03-26 16:52:46 -07:00
2013-03-25 15:59:10 -04:00
2014-08-15 09:04:26 -07:00
2014-09-04 14:30:40 -07:00
2013-01-23 15:48:55 +07:00
2014-08-18 13:08:09 -07:00
2013-01-08 18:07:15 +00:00
2013-02-20 03:00:20 -05:00
2013-06-12 10:27:28 +01:00
2013-01-23 15:48:55 +07:00
2013-01-24 19:18:39 +08:00
2010-12-09 13:00:52 -08:00
2013-01-24 19:18:39 +08:00
2011-03-25 22:52:57 -04:00
2013-02-06 16:36:49 +00:00
2014-03-27 13:33:32 -07:00
2013-01-23 15:48:56 +07:00
2014-02-16 23:25:22 -06:00
2014-09-05 13:00:48 -07:00
2013-01-11 00:48:18 +00:00
2013-01-24 19:18:39 +08:00
2013-02-25 18:27:44 +00:00
2013-02-27 09:07:21 -05:00
2013-03-06 10:19:26 -05:00
2011-10-25 14:33:47 +02:00