mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
@@ -78,21 +78,6 @@ export class ProgressStyler implements style.Styler {
|
||||
ProgressStyler.setBackgroundAndBorderProperty,
|
||||
ProgressStyler.resetBackgroundAndBorderProperty), "Progress");
|
||||
|
||||
style.registerHandler(style.borderTopColorProperty, style.ignorePropertyHandler, "Progress");
|
||||
style.registerHandler(style.borderRightColorProperty, style.ignorePropertyHandler, "Progress");
|
||||
style.registerHandler(style.borderBottomColorProperty, style.ignorePropertyHandler, "Progress");
|
||||
style.registerHandler(style.borderLeftColorProperty, style.ignorePropertyHandler, "Progress");
|
||||
|
||||
style.registerHandler(style.borderTopWidthProperty, style.ignorePropertyHandler, "Progress");
|
||||
style.registerHandler(style.borderRightWidthProperty, style.ignorePropertyHandler, "Progress");
|
||||
style.registerHandler(style.borderBottomWidthProperty, style.ignorePropertyHandler, "Progress");
|
||||
style.registerHandler(style.borderLeftWidthProperty, style.ignorePropertyHandler, "Progress");
|
||||
|
||||
style.registerHandler(style.borderTopLeftRadiusProperty, style.ignorePropertyHandler, "Progress");
|
||||
style.registerHandler(style.borderTopRightRadiusProperty, style.ignorePropertyHandler, "Progress");
|
||||
style.registerHandler(style.borderBottomRightRadiusProperty, style.ignorePropertyHandler, "Progress");
|
||||
style.registerHandler(style.borderBottomLeftRadiusProperty, style.ignorePropertyHandler, "Progress");
|
||||
|
||||
style.registerHandler(style.backgroundInternalProperty, style.ignorePropertyHandler, "Progress");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,6 +76,8 @@ export class ProgressStyler implements style.Styler {
|
||||
ProgressStyler.setBackgroundColorProperty,
|
||||
ProgressStyler.resetBackgroundColorProperty,
|
||||
ProgressStyler.getBackgroundColorProperty), "Progress");
|
||||
|
||||
style.registerHandler(style.backgroundInternalProperty, style.ignorePropertyHandler, "Progress");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -278,6 +278,8 @@ export class SearchBarStyler implements style.Styler {
|
||||
SearchBarStyler.setFontInternalProperty,
|
||||
SearchBarStyler.resetFontInternalProperty,
|
||||
SearchBarStyler.getNativeFontInternalValue), "SearchBar");
|
||||
|
||||
style.registerHandler(style.backgroundInternalProperty, style.ignorePropertyHandler, "SearchBar");
|
||||
}
|
||||
|
||||
private static _getSearchViewTextView(bar: android.widget.SearchView): android.widget.TextView {
|
||||
|
||||
@@ -239,6 +239,8 @@ export class SearchBarStyler implements style.Styler {
|
||||
SearchBarStyler.setFontInternalProperty,
|
||||
SearchBarStyler.resetFontInternalProperty,
|
||||
SearchBarStyler.getNativeFontInternalValue), "SearchBar");
|
||||
|
||||
style.registerHandler(style.backgroundInternalProperty, style.ignorePropertyHandler, "SearchBar");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -127,21 +127,6 @@ export class SliderStyler implements style.Styler {
|
||||
SliderStyler.setBackgroundAndBorderProperty,
|
||||
SliderStyler.resetBackgroundAndBorderProperty), "Slider");
|
||||
|
||||
style.registerHandler(style.borderTopColorProperty, style.ignorePropertyHandler, "Slider");
|
||||
style.registerHandler(style.borderRightColorProperty, style.ignorePropertyHandler, "Slider");
|
||||
style.registerHandler(style.borderBottomColorProperty, style.ignorePropertyHandler, "Slider");
|
||||
style.registerHandler(style.borderLeftColorProperty, style.ignorePropertyHandler, "Slider");
|
||||
|
||||
style.registerHandler(style.borderTopWidthProperty, style.ignorePropertyHandler, "Slider");
|
||||
style.registerHandler(style.borderRightWidthProperty, style.ignorePropertyHandler, "Slider");
|
||||
style.registerHandler(style.borderBottomWidthProperty, style.ignorePropertyHandler, "Slider");
|
||||
style.registerHandler(style.borderLeftWidthProperty, style.ignorePropertyHandler, "Slider");
|
||||
|
||||
style.registerHandler(style.borderTopLeftRadiusProperty, style.ignorePropertyHandler, "Slider");
|
||||
style.registerHandler(style.borderTopRightRadiusProperty, style.ignorePropertyHandler, "Slider");
|
||||
style.registerHandler(style.borderBottomRightRadiusProperty, style.ignorePropertyHandler, "Slider");
|
||||
style.registerHandler(style.borderBottomLeftRadiusProperty, style.ignorePropertyHandler, "Slider");
|
||||
|
||||
style.registerHandler(style.backgroundInternalProperty, style.ignorePropertyHandler, "Slider");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,21 +81,6 @@ export class SwitchStyler implements style.Styler {
|
||||
SwitchStyler.setBackgroundAndBorderProperty,
|
||||
SwitchStyler.resetBackgroundAndBorderProperty), "Switch");
|
||||
|
||||
style.registerHandler(style.borderTopColorProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderRightColorProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderBottomColorProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderLeftColorProperty, style.ignorePropertyHandler, "Switch");
|
||||
|
||||
style.registerHandler(style.borderTopWidthProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderRightWidthProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderBottomWidthProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderLeftWidthProperty, style.ignorePropertyHandler, "Switch");
|
||||
|
||||
style.registerHandler(style.borderTopLeftRadiusProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderTopRightRadiusProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderBottomRightRadiusProperty, style.ignorePropertyHandler, "Switch");
|
||||
style.registerHandler(style.borderBottomLeftRadiusProperty, style.ignorePropertyHandler, "Switch");
|
||||
|
||||
style.registerHandler(style.backgroundInternalProperty, style.ignorePropertyHandler, "Switch");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,7 +107,6 @@ export class SwitchStyler implements style.Styler {
|
||||
SwitchStyler.resetBackgroundColorProperty,
|
||||
SwitchStyler.getBackgroundColorProperty), "Switch");
|
||||
|
||||
// Ignore the default backgroundInternalProperty handler
|
||||
style.registerHandler(style.backgroundInternalProperty, style.ignorePropertyHandler, "Switch");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user