Skip to content

Commit b60f8a1

Browse files
author
jossonsmith
committed
Support multiple lines in widget CoolBar
1 parent 66213d4 commit b60f8a1

File tree

3 files changed

+239
-94
lines changed

3 files changed

+239
-94
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
border:2px inset white;
88
}
99
.cool-item-default {
10-
position:relative;
10+
position:absolute;
1111
border:1px outset white;
1212
cursor:default;
1313
margin:0;
1414
white-space:nowrap;
1515
height:24px;
1616
padding-left:10px;
1717
padding-right:4px;
18+
/*float:left;*/
1819
}
1920
* html .cool-item-default {
2021
border-style:solid;
@@ -42,6 +43,11 @@
4243
border-left:4px solid menu;
4344
cursor:default;
4445
}
46+
.cool-item-content {
47+
position:absolute;
48+
left:11px;
49+
top:0;
50+
}
4551
.cool-item-more {
4652
display:none;
4753
position:absolute;

0 commit comments

Comments
 (0)