Moved text-align and font-size to TextBase and fixed a WebView test.

This commit is contained in:
Rossen Hristov
2015-04-03 16:38:39 +03:00
parent d74250dea8
commit 69dc92026c
6 changed files with 32 additions and 29 deletions

View File

@ -174,20 +174,6 @@ export class View extends proxy.ProxyObject implements definition.View {
this.style.backgroundColor = value;
}
get fontSize(): number {
return this.style.fontSize;
}
set fontSize(value: number) {
this.style.fontSize = value;
}
get textAlignment(): string {
return this.style.textAlignment;
}
set textAlignment(value: string) {
this.style.textAlignment;
}
get minWidth(): number {
return this.style.minWidth;
}

10
ui/core/view.d.ts vendored
View File

@ -135,16 +135,6 @@ declare module "ui/core/view" {
*/
backgroundColor: color.Color;
/**
* Gets or sets font-size style property.
*/
fontSize: number;
/**
* Gets or sets text-alignment style property.
*/
textAlignment: string;
/**
* Gets or sets the minimum width the view may grow to.
*/