lundi 2 février 2015

[SA 3.2] Cannot create custom UI

Hi,

as soon as I create a custom UI for any component, just create new and rename but no changes, the Sass compiler spits out an error:


Bildschirmfoto 2015-02-02 um 11.29.41.png


In my case I tried to create a custom UI for a textfield. "searchfield" is the name of the custom class which extends Ext.form.field.Picker. But this also happens for custom ui for buttons or panels.

This is the content of _architect_other.scss:



Code:



/* ui mixin: searchfield for of type: undefined */
@if $include-ext-form-field-text != false {

@include undefined(
$ui:"searchfield",
$ui-height: $form-text-field-height,
$ui-font-size: $form-text-field-font-size,
$ui-font-family: $form-text-field-font-family,
$ui-font-weight: $form-text-field-font-weight,
$ui-color: $form-text-field-color,
$ui-background-color: $form-text-field-background-color,
$ui-border-width: $form-text-field-border-width,
$ui-border-style: $form-text-field-border-style,
$ui-border-color: $form-text-field-border-color,
$ui-focus-border-color: $form-text-field-focus-border-color,
$ui-invalid-border-color: $form-text-field-invalid-border-color,
$ui-border-radius: $form-text-field-border-radius,
$ui-background-image: $form-text-field-background-image,
$ui-padding: $form-text-field-padding,
$ui-empty-color: $form-text-field-empty-color,
$ui-body-width: $form-text-field-body-width,
$ui-invalid-background-color: $form-field-invalid-background-color,
$ui-invalid-background-image: $form-field-invalid-background-image,
$ui-invalid-background-repeat: $form-field-invalid-background-repeat,
$ui-invalid-background-position: $form-field-invalid-background-position,
$ui-trigger-width: $form-trigger-width,
$ui-trigger-border-width: $form-trigger-border-width,
$ui-trigger-border-color: $form-trigger-border-color,
$ui-trigger-border-style: $form-trigger-border-style,
$ui-trigger-border-color-over: null,
$ui-trigger-border-color-focus: null,
$ui-trigger-border-color-pressed: null,
$ui-trigger-background-image: $form-trigger-background-image,
$ui-trigger-background-color: $form-trigger-background-color,
$ui-textarea-line-height: $form-textarea-line-height,
$ui-textarea-body-height: $form-textarea-body-height,
$ui-file-field-color: $form-file-field-color,
$ui-classic-border: $form-text-field-classic-border
);
}

Any ideas?



[SA 3.2] Cannot create custom UI

Aucun commentaire:

Enregistrer un commentaire