Skip to content

Commit 28100a7

Browse files
author
jossonsmith
committed
Support SWT.DROP_DOWN menu on ToolItem, more accurate calculating on IE and Opera
1 parent 5e04248 commit 28100a7

File tree

3 files changed

+624
-651
lines changed

3 files changed

+624
-651
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ DIV.tool-item-down {
9898
border:0 solid menu;
9999
border-left-width:2px;
100100
margin:0 3px;
101-
/*height:18px;*/
102101
}
103102
.tool-bar-horizontal .tool-item-seperator:hover {
104103
border:0 solid menu !important;
@@ -138,7 +137,6 @@ DIV.tool-item-down {
138137
.tool-bar-right .tool-item-default {
139138
background-position:left center;
140139
}
141-
142140
.tool-item-drop-down-button {
143141
position:absolute;
144142
top:-1px;
@@ -148,9 +146,6 @@ DIV.tool-item-down {
148146
width:10px;
149147
height:100%;
150148
}
151-
* html .tool-item-drop-down-button {
152-
/*height:19px;*/
153-
}
154149
.tool-bar-flat .tool-item-drop-down-button {
155150
border:1px solid menu;
156151
top:-1px !important;
@@ -196,6 +191,6 @@ DIV.tool-item-drop-down-button-down {
196191
margin-top:-2px;
197192
}
198193
* html .tool-item-button-arrow-down {
199-
margin-top:8px;
194+
/*margin-top:-2px;*/
200195
border-width:3px;
201196
}

0 commit comments

Comments
 (0)