Skip to content

Commit ac87a64

Browse files
committed
chore: submodule
1 parent 293f5ac commit ac87a64

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

demo-snippets/vue/CanvasLabel.vue

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
<template>
22
<Page>
33
<StackLayout>
4-
<canvaslabel backgroundColor="red" rippleColor="green" borderRadius="10" paddingTop="0" height="80" widht="80">
5-
<CGroup verticalAlignment="middle" textAlignment="center">
6-
<cspan :fontFamily="mdiFontFamily" text="mdi-cellphone-screenshot" fontSize="30" />
7-
<cspan :text="'\n' + 'share screenshot'" fontSize="12" />
8-
</CGroup>
9-
</canvaslabel>
10-
<canvaslabel backgroundColor="yellow" rippleColor="green" borderRadius="10" paddingTop="0" height="80" width="80" lineBreak="middle">
11-
<CGroup>
12-
<cspan text="this is a tesxt to test lineBreak" fontSize="12" />
13-
<cspan :text="'\n' + 'another piece of text which is going to be ellipsized'" fontSize="16" />
14-
</CGroup>
15-
</canvaslabel>
16-
<label backgroundColor="green" rippleColor="green" borderRadius="10" paddingTop="0" height="80" width="80" lineBreak="end" >
4+
<!-- <canvaslabel backgroundColor="red" rippleColor="green" borderRadius="10" paddingTop="0" height="80" widht="80" color="black">
5+
<CGroup verticalAlignment="middle" textAlignment="center">
6+
<cspan :fontFamily="mdiFontFamily" text="mdi-cellphone-screenshot" fontSize="30" />
7+
<cspan :text="'\n' + 'share screenshot'" fontSize="12" />
8+
</CGroup>
9+
</canvaslabel> -->
10+
<canvaslabel backgroundColor="yellow" rippleColor="green" borderRadius="10" paddingTop="0" height="80" width="80" lineBreak="end" color="red">
11+
<CGroup>
12+
<cspan :text="'this is a tesxt to test lineBreak' +'\n' +'test'" fontSize="12" color="blue"/>
13+
<cspan :text="'\n' + 'another piece of text which is going to be ellipsized'" fontSize="16" />
14+
</CGroup>
15+
</canvaslabel>
16+
<label backgroundColor="green" rippleColor="green" borderRadius="10" paddingTop="0" height="80" width="80" lineBreak="end" color="black">
1717
<span text="this is a tesxt to test lineBreak" fontSize="12" />
1818
<span :text="'\n' + 'another piece of text which is going to be ellipsized'" fontSize="16" />
19-
</label>
20-
<HTMLLabel backgroundColor="blue" rippleColor="green" borderRadius="10" paddingTop="0" height="80" width="80" lineBreak="end" maxLines="4">
19+
</label>
20+
<HTMLLabel backgroundColor="blue" rippleColor="green" borderRadius="10" paddingTop="0" height="80" width="80" lineBreak="end" maxLines="4" color="black">
2121
<span text="this is a tesxt to test lineBreak" fontSize="12" />
2222
<span :text="'\n' + 'another piece of text which is going to be ellipsized'" fontSize="16" />
23-
</HTMLLabel>
24-
23+
</HTMLLabel>
2524
</StackLayout>
2625
</Page>
2726
</template>
@@ -64,7 +63,7 @@ export default {
6463
return {
6564
mdiFontFamily: 'materialdesignicons-webfont,Material Design Icons',
6665
itemList: items,
67-
item:null
66+
item: null
6867
};
6968
},
7069
methods: {

demo-vue

0 commit comments

Comments
 (0)