sproutcore/sproutcore — Issue #670: SC.AceTheme has a few incorrect styles 
Author: workmanw
Created: 2011-12-28 02:15:38+00:00
State: open
Labels: Ace

SC.AceTheme has a few incorrect styles, these styles are highlighted by the pink outline when using image spriting via abbot. A little background, image spriting was enabled by default as part of SC 1.7. When using image spriting in development mode (sc-server) the sprited image has a pink background, rather than transparent, to notify the developer a style has an incorrect size associated with it.

Examples:

Disclosure arrows: ![Disclosure arrows](http://i.imgur.com/QyDGx.png)
Auto height button: ![Auto height button](http://i.imgur.com/Gf2jw.png)

The two issues that I've run across are 1) disclosure arrows are defined as 16x16, however the images are only 14x14 and 2) SC.ButtonView's that use "layout: { height: auto, ... }", such as the SC.AlertPane's end up with a height of 26px instead of 24px.