PDA

View Full Version : Sencha Cmd doesn't generate slices for buttons



Strange_V
21 May 2014, 7:00 AM
Ext version tested:

Sencha Cmd v5.0.0.116



Description:
I have created button with custom style (ui: 'remove-small'), then added scss file for it


@include extjs-button-small-ui(
'remove',

$border-color: $remove-button-background,
$border-color-over: $remove-button-background-hover,
$border-color-focus: $remove-button-background,
$border-color-pressed: $remove-button-background,
$border-color-disabled: $remove-button-background,

$background-color: $remove-button-background,
$background-color-over: $remove-button-background-hover,
$background-color-focus: $remove-button-background,
$background-color-pressed: $remove-button-background,
$background-color-disabled: $remove-button-background,

$color: $remove-button-color,
$color-over: $remove-button-color,
$color-focus: $remove-button-color,
$color-pressed: $remove-button-color,
$color-disabled: $remove-button-color,

$font-size: $button-small-font-size,
$font-size-over: $button-small-font-size-over,
$font-size-focus: $button-small-font-size-focus,
$font-size-pressed: $button-small-font-size-pressed,
$font-size-disabled: $button-small-font-size-disabled,

$font-weight: $button-small-font-weight,
$font-weight-over: $button-small-font-weight-over,
$font-weight-focus: $button-small-font-weight-focus,
$font-weight-pressed: $button-small-font-weight-pressed,
$font-weight-disabled: $button-small-font-weight-disabled,

$font-family: $button-small-font-family,
$font-family-over: $button-small-font-family-over,
$font-family-focus: $button-small-font-family-focus,
$font-family-pressed: $button-small-font-family-pressed,
$font-family-disabled: $button-small-font-family-disabled
);
Button looks bad in IE8 because images btn-cancel-small-sides.png and btn-cancel-small-corners.png haven't generated by Sencha Cmd (css styles generated correctly).


The result that was expected:

Sliced images have to be generated

The result that occurs instead:

Sliced images not generated