Skip to content

Commit 8264008

Browse files
committed
Added horizontal and vertical classes
1 parent 8904b34 commit 8264008

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/examples/sample.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Alloy>
22
<Window class="bg-orange-100">
33
<View class="h-auto mx-3 bg-blue-200 border-4 border-blue-600 rounded-lg">
4-
<View class="h-auto" layout="vertical">
4+
<View class="h-auto vertical">
55

66
<Button class="mt-3 text-base text-indigo-700">This is an Indigo Button</Button>
77

@@ -13,7 +13,7 @@
1313

1414
<Button class="w-1/2 h-10 mt-4 mr-4 text-base text-white bg-blue-700 border-2 border-blue-800 rounded-lg">MR-4 Button</Button>
1515

16-
<View class="h-auto mt-4 mb-1" layout="horizontal">
16+
<View class="h-auto mt-4 mb-1 horizontal">
1717
<Label class="w-1/4 h-8 text-xs text-center text-white bg-blue-900 opacity-25">opacity-25</Label>
1818
<Label class="w-1/4 h-8 text-xs text-center text-white bg-blue-900 opacity-50">opacity-50</Label>
1919
<Label class="w-1/4 h-8 text-xs text-center text-white bg-blue-900 opacity-75">opacity-75</Label>

0 commit comments

Comments
 (0)