Skip to content

Commit 650711f

Browse files
fix the ratio of popup notification in eclipse
1 parent 2aa86fa commit 650711f

File tree

1 file changed

+2
-2
lines changed
  • PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.core/src/com/microsoft/azure/toolkit/eclipse/common/messager

1 file changed

+2
-2
lines changed

PluginsAndFeatures/azure-toolkit-for-eclipse/com.microsoft.azuretools.core/src/com/microsoft/azure/toolkit/eclipse/common/messager/EclipseMessageNotification.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public void createContentArea(Composite parent) {
4141
browser.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
4242
browser.setText(this.getMessage().getContent());
4343
browser.setBackgroundMode(SWT.INHERIT_FORCE);
44-
int height = clientArea.height / 10;
45-
browser.setSize((int) (height * 2.5), height);
44+
int height = clientArea.height / 15;
45+
browser.setSize((int) (height * 3.5), height);
4646
Composite buttonBar = new Composite(container, SWT.NONE);
4747
buttonBar.setLayoutData(new GridData(SWT.RIGHT, SWT.BOTTOM, false, false, 1, 1));
4848
buttonBar.setLayout(new GridLayout(2, false));

0 commit comments

Comments
 (0)