X Tutup
Skip to content

Commit 3c9a4fd

Browse files
author
zhourenjian
committed
Add support of custom widget CLabel
1 parent 99d6bb8 commit 3c9a4fd

File tree

2 files changed

+308
-64
lines changed

2 files changed

+308
-64
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.clabel-icon {
2+
position:absolute;
3+
background-position:center center;
4+
background-repeat:no-repeat;
5+
z-index:2;
6+
}
7+
.clabel-text {
8+
cursor:default;
9+
font-family:Tahoma, Arial, sans-serif;
10+
font-size:8pt;
11+
z-index:3;
12+
}
13+
.clabel-line {
14+
z-index:4;
15+
}
16+
.clabel-border {
17+
border-style:solid;
18+
border-width:1px;
19+
font-size:0;
20+
position:absolute;
21+
}
22+
.clabel-background {
23+
position:absolute;
24+
font-size:0;
25+
margin:0;
26+
padding:0;
27+
z-index:1;
28+
}
29+
.clabel-background-block {
30+
position:absolute;
31+
font-size:0;
32+
margin:0;
33+
padding:0;
34+
z-index:0;
35+
}
36+
.swt-custom-clabel {
37+
width:324px;
38+
}

0 commit comments

Comments
 (0)
X Tutup