|
15 | 15 |
|
16 | 16 | <Button row="2" text="Toggle Glass" tap="{{toggleGlassEffect}}" horizontalAlignment="center" verticalAlignment="middle" class="c-white font-weight-bold m-y-20 p-4" fontSize="22" borderRadius="32" width="300" height="100" touchAnimation="{{touchAnimation}}" iosGlassEffect="{{currentEffect}}"/> |
17 | 17 |
|
18 | | - <LiquidGlass row="3" width="300" height="100" borderRadius="32" iosGlassEffect="{{iosGlassEffectInteractive}}" > |
| 18 | + <LiquidGlass row="3" width="300" height="100" borderRadius="32" iosGlassEffect="{{iosGlassEffectInteractive}}"> |
19 | 19 |
|
20 | 20 | <Label text="Glass Interactive" fontSize="22" class="font-weight-bold text-center c-white" /> |
21 | 21 |
|
22 | 22 | </LiquidGlass> |
23 | 23 |
|
24 | | - |
| 24 | + |
25 | 25 | <LiquidGlassContainer row="4" tap="{{toggleMergeGlass}}" horizontalAlignment="left" verticalAlignment="middle" class="m-t-20" width="300" height="100" columns="*"> |
26 | 26 | <LiquidGlass id="glass1" loaded="{{loadedGlass}}" borderRadius="50" width="100" height="100"> |
27 | 27 | <Label id="share" text="Share" fontSize="22" class="font-weight-bold text-center" width="100" height="100" loaded="{{loadedGlassLabels}}" /> |
|
32 | 32 | </LiquidGlassContainer> |
33 | 33 | </GridLayout> |
34 | 34 |
|
| 35 | + <GridLayout rows="auto,auto" marginTop="20"> |
| 36 | + <Label text="Inside FlexboxLayout:" fontSize="22" class="font-weight-bold text-center c-white" /> |
| 37 | + <FlexboxLayout row="1" marginTop="12" alignment="center" justifyContent="center" flexDirection="column" width="350"> |
| 38 | + |
| 39 | + <LiquidGlass row="3" width="300" height="100" borderRadius="32" iosGlassEffect="{{iosGlassEffectInteractive}}"> |
| 40 | + |
| 41 | + <Label text="Glass Interactive" fontSize="22" class="font-weight-bold text-center c-white" /> |
| 42 | + |
| 43 | + </LiquidGlass> |
| 44 | + |
| 45 | + <!-- Can try containers as well --> |
| 46 | + <!-- <LiquidGlassContainer row="4" tap="{{toggleMergeGlass}}" horizontalAlignment="left" verticalAlignment="middle" class="m-t-20" width="300" height="100" columns="*"> |
| 47 | + <LiquidGlass id="glass1" loaded="{{loadedGlass}}" borderRadius="50" width="100" height="100"> |
| 48 | + <Label id="share" text="Share" fontSize="22" class="font-weight-bold text-center" width="100" height="100" loaded="{{loadedGlassLabels}}" /> |
| 49 | + </LiquidGlass> |
| 50 | + <LiquidGlass id="glass2" loaded="{{loadedGlass}}" borderRadius="50" width="100" height="100"> |
| 51 | + <Label id="like" text="Like" fontSize="22" class="font-weight-bold text-center" loaded="{{loadedGlassLabels}}" /> |
| 52 | + </LiquidGlass> |
| 53 | + </LiquidGlassContainer> --> |
| 54 | + </FlexboxLayout> |
| 55 | + </GridLayout> |
| 56 | + |
35 | 57 | <GridLayout rows="*,auto,auto,auto,*" class="m-t-10"> |
36 | 58 | <GridLayout row="1" width="300" height="100" iosGlassEffect="regular" horizontalAlignment="center" verticalAlignment="middle" borderRadius="32"> |
37 | 59 | <Label class="text-center c-white" fontWeight="bold" fontSize="18" text="Glass Effects Regular" /> |
|
0 commit comments