Mercurial > projects > dwt-linux
diff dwt/browser/PromptDialog.d @ 345:5abc6f7f7a95
Fixups
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Tue, 28 Oct 2008 22:07:01 -0700 |
parents | 8198e6052012 |
children |
line wrap: on
line diff
--- a/dwt/browser/PromptDialog.d Mon Oct 27 22:41:01 2008 -0700 +++ b/dwt/browser/PromptDialog.d Tue Oct 28 22:07:01 2008 -0700 @@ -49,7 +49,7 @@ Label label = new Label(shell, DWT.WRAP); label.setText(text); GridData data = new GridData(); - Monitor monitor = parent.getMonitor(); + dwt.widgets.Monitor.Monitor monitor = parent.getMonitor(); int maxWidth = monitor.getBounds().width * 2 / 3; int width = label.computeSize(DWT.DEFAULT, DWT.DEFAULT).x; data.widthHint = Math.min(width, maxWidth); @@ -95,7 +95,7 @@ Label label = new Label(shell, DWT.WRAP); label.setText(text); GridData data = new GridData(); - Monitor monitor = parent.getMonitor(); + dwt.widgets.Monitor.Monitor monitor = parent.getMonitor(); int maxWidth = monitor.getBounds().width * 2 / 3; int width = label.computeSize(DWT.DEFAULT, DWT.DEFAULT).x; data.widthHint = Math.min(width, maxWidth); @@ -175,7 +175,7 @@ Label label = new Label(shell, DWT.WRAP); label.setText(text); GridData data = new GridData(); - Monitor monitor = parent.getMonitor(); + dwt.widgets.Monitor.Monitor monitor = parent.getMonitor(); int maxWidth = monitor.getBounds().width * 2 / 3; int width = label.computeSize(DWT.DEFAULT, DWT.DEFAULT).x; data.widthHint = Math.min(width, maxWidth); @@ -242,7 +242,7 @@ Label label = new Label(shell, DWT.WRAP); label.setText(text); GridData data = new GridData(); - Monitor monitor = parent.getMonitor(); + dwt.widgets.Monitor.Monitor monitor = parent.getMonitor(); int maxWidth = monitor.getBounds().width * 2 / 3; int width = label.computeSize(DWT.DEFAULT, DWT.DEFAULT).x; data.widthHint = Math.min(width, maxWidth);