mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Fix button wrap (#4350)
* Fix button wrap * Update path to hint-text-color page
This commit is contained in:
@ -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=" This a test of a wrapping button [CENTER ICON]" textWrap="true" style="text-align:center;width:100" />
|
||||
</StackLayout>
|
||||
</GridLayout>
|
||||
</Page>
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
Reference in New Issue
Block a user