Author: yradtsevich
Date: 2012-05-16 07:44:17 -0400 (Wed, 16 May 2012)
New Revision: 41059
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/SizeWarningDialog.java
Log:
https://issues.jboss.org/browse/JBIDE-11739 : browsersim does not set the right height if
monitor has lower resolution - should handle/warn about it
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/SizeWarningDialog.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/SizeWarningDialog.java 2012-05-16
11:39:47 UTC (rev 41058)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.browsersim/src/org/jboss/tools/vpe/browsersim/ui/SizeWarningDialog.java 2012-05-16
11:44:17 UTC (rev 41059)
@@ -48,7 +48,9 @@
super.createWidgets();
Composite messageRow = new Composite(getMessageComposite(), SWT.NONE);
- messageRow.setLayout(new RowLayout(SWT.VERTICAL));
+ RowLayout rowLayout = new RowLayout(SWT.VERTICAL);
+ rowLayout.spacing = 12;
+ messageRow.setLayout(rowLayout);
messageRow.setBackground(getMessageCompositeBackground());
Label message = new Label(messageRow, SWT.WRAP);