Skip to content

Commit 2f9dec8

Browse files
author
jossonsmith
committed
Support CoolBar vertical DND
1 parent 5a2a4dd commit 2f9dec8

File tree

3 files changed

+318
-16
lines changed

3 files changed

+318
-16
lines changed

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/CoolBar.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,58 @@
2020
border-style:solid;
2121
border-color:white gray gray white;
2222
}
23+
.cool-item-border-none-none {
24+
border-width:0 0 0 0;
25+
}
26+
.cool-item-border-none-left {
27+
border-width:0 0 0 1px;
28+
}
29+
.cool-item-border-none-both {
30+
border-width:0 1px 0 1px;
31+
}
32+
.cool-item-border-none-right {
33+
border-width:0 1px 0 0;
34+
}
35+
.cool-item-border-top-none {
36+
border-width:1px 0 0 0;
37+
}
38+
.cool-item-border-top-left {
39+
border-width:1px 0 0 1px;
40+
}
41+
.cool-item-border-top-both {
42+
border-width:1px 1px 0 1px;
43+
}
44+
.cool-item-border-top-right {
45+
border-width:1px 1px 0 0;
46+
}
47+
.cool-item-border-both-none {
48+
border-width:1px 0 1px 0;
49+
}
50+
.cool-item-border-both-left {
51+
border-width:1px 0 1px 1px;
52+
}
53+
.cool-item-border-both-both {
54+
border-width:1px 1px 1px 1px;
55+
}
56+
.cool-item-border-both-right {
57+
border-width:1px 1px 1px 0;
58+
}
59+
.cool-item-border-bottom-none {
60+
border-width:0 0 1px 0;
61+
}
62+
.cool-item-border-bottom-left {
63+
border-width:0 0 1px 1px;
64+
}
65+
.cool-item-border-bottom-both {
66+
border-width:0 1px 1px 1px;
67+
}
68+
.cool-item-border-bottom-right {
69+
border-width:0 1px 1px 0;
70+
}
2371
.cool-bar-flat .cool-item-default {
2472
margin:1px;
2573
border:0 none transparent;
74+
border:0 0 0 0;
2675
}
2776
.cool-item-handler {
2877
position:absolute;

0 commit comments

Comments
 (0)