File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ public boolean dragBegan(DragEvent e) {
5252 boolean firstTime = false ;
5353 if (this .frame == null ) {
5454 this .frame = document .createElement ("DIV" );
55- this .frame .className = "shell-handle" ;
56- this .frame .style .backgroundColor = "transparent " ;
55+ this .frame .className = "shell-handle shell-opacity " ;
56+ this .frame .style .backgroundColor = "menu " ;
5757 this .frame .style .left = this .sourceX + "px" ;
5858 this .frame .style .top = this .sourceY + "px" ;
5959 this .frame .style .zIndex = "" + (Integer .parseInt (window .currentTopZIndex ) + 100 );
@@ -68,8 +68,10 @@ public boolean dragBegan(DragEvent e) {
6868 }
6969 if (existedTitleBar ) {
7070 Element titleBar = document .createElement ("DIV" );
71- titleBar .className = "shell-title-bar opacity" ;
72- titleBar .style .paddingTop = "4px" ;
71+ titleBar .className = "shell-title-bar" ;
72+ titleBar .style .margin = "4px 0" ;
73+ titleBar .style .width = "100%" ;
74+
7375 this .frame .appendChild (titleBar );
7476 }
7577 firstTime = true ;
Original file line number Diff line number Diff line change 99 background-color : menu;
1010 z-index : 10 ;
1111}
12- .opacity {
12+ .shell- opacity {
1313 width : 100% ;
1414 margin : 0 ;
15- opacity : 0.25 ;
16- filter : Alpha (opacity=25 );
15+ opacity : 0.35 ;
16+ filter : Alpha (opacity=35 );
1717}
1818.shell-default {
1919 position : absolute;
You can’t perform that action at this time.
0 commit comments