Fix button wrap (#4350)

* Fix button wrap

* Update path to hint-text-color page
This commit is contained in:
SvetoslavTsenov
2017-06-09 16:37:14 +03:00
committed by GitHub
parent 0d3a307dee
commit c228b97263
5 changed files with 4 additions and 3 deletions

View File

@ -4,10 +4,10 @@
<NavigationButton text="Go Back" android.systemIcon="ic_menu_back"></NavigationButton>
</ActionBar>
</Page.actionBar>
<StackLayout>
<GridLayout rows="*,*,*,*">
<Button text="This a test of a wrapping button [CENTER]" textWrap="true" style="text-align:center; width:100" />
<Button row="1" text="This a test of a wrapping button [RIGHT]" textWrap="true" style="text-align:right;width:100" />
<Button row="2" text="This a test of a wrapping button [LEFT]" textWrap="true" style="text-align:left;width:100" />
<Button row="3" text="&#xf8ff; This a test of a wrapping button [CENTER ICON]" textWrap="true" style="text-align:center;width:100" />
</StackLayout>
</GridLayout>
</Page>

View File

@ -14,6 +14,6 @@ export function loadExamples() {
examples.set("secured-text-field", "text-field/secured-text-field-4135");
examples.set("max-length", "text-field/max-length");
examples.set("text-field-border", "text-field/text-field-border");
examples.set("hint-text-color", "text-field/hint-text-color");
return examples;
}

View File

@ -13,5 +13,6 @@ export function loadExamples() {
const examples = new Map<string, string>();
examples.set("text-view-border", "text-view/text-view-border");
examples.set("text-view-hint-color", "text-view/text-view-hint-color");
examples.set("hint-text-color", "text-view/hint-text-color");
return examples;
}