File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ public RGB open () {
336336 }
337337 }
338338
339- dialogShell = new Shell (parent .display , style | SWT .CLOSE | SWT .BORDER | SWT . RESIZE ) {
339+ dialogShell = new Shell (parent .display , style | SWT .CLOSE | SWT .APPLICATION_MODAL ) {
340340
341341 protected void releaseHandle () {
342342 releaseHandles ();
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ public void setText (String string) {
297297
298298
299299protected void dialogUnimplemented () {
300- dialogShell = new Shell (parent .display , style | SWT .CLOSE | SWT .BORDER | SWT . SHELL_TRIM );
300+ dialogShell = new Shell (parent .display , style | SWT .CLOSE | SWT .APPLICATION_MODAL );
301301 dialogShell .addListener (SWT .Close , new Listener () {
302302 public void handleEvent (Event event ) {
303303 //updateReturnCode();
Original file line number Diff line number Diff line change @@ -493,7 +493,7 @@ public FontData open () {
493493 */
494494 this .returnFD = null ;
495495 //Display display = new Display();
496- dialogShell = new Shell (parent .display , SWT .SHELL_TRIM | SWT .APPLICATION_MODAL );
496+ dialogShell = new Shell (parent .display , style | SWT .CLOSE | SWT .APPLICATION_MODAL );
497497 dialogShell .setText ("Font" );
498498 GridLayout gl = new GridLayout ();
499499 dialogShell .setLayout (gl );
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ public int open () {
206206 }
207207 */
208208 returnCode = -1 ;
209- dialogShell = new Shell (parent .display , style | SWT .CLOSE | SWT .BORDER | SWT . SHELL_TRIM );
209+ dialogShell = new Shell (parent .display , SWT .CLOSE | SWT .APPLICATION_MODAL );
210210 dialogShell .addListener (SWT .Close , new Listener () {
211211 public void handleEvent (Event event ) {
212212 updateReturnCode ();
Original file line number Diff line number Diff line change 186186
187187.shell-modal-block {
188188 background-color : white;
189- opacity : 0.2 ;
190- filter : Alpha (Opacity=20 );
189+ opacity : 0.01 ;
190+ filter : Alpha (Opacity=1 );
191191 position : absolute;
192192 left : 0 ;
193193 top : 0 ;
196196}
197197.over-iframe-layer {
198198 background-color : white;
199- opacity : 0.05 ;
200- filter : Alpha (Opacity=5 );
199+ opacity : 0.01 ;
200+ filter : Alpha (Opacity=1 );
201201 position : absolute;
202202 left : 0 ;
203203 top : 0 ;
You can’t perform that action at this time.
0 commit comments