Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ protected void createContentArea(final Composite parent) {
@Override
public void widgetSelected(final SelectionEvent e) {
PluginUtils.openWebpage(Constants.KIRO_SUNSET_LEARN_MORE_URL);
dismiss();
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ protected final String getPopupShellTitle() {
@Override
protected final void initializeBounds() {
Rectangle clArea = getPrimaryClientArea();
Point initialSize = getShell().computeSize(SWT.DEFAULT, SWT.DEFAULT);
int height = Math.max(initialSize.y, MIN_HEIGHT);
int width = Math.min(initialSize.x, MAX_WIDTH);
int width = Math.min(getShell().computeSize(SWT.DEFAULT, SWT.DEFAULT).x, MAX_WIDTH);
// Recompute height with the constrained width so wrapped text and buttons are accounted for
int height = Math.max(getShell().computeSize(width, SWT.DEFAULT).y, MIN_HEIGHT);
Point size = new Point(width, height);
// Calculate the position for the new notification
int x = clArea.x + clArea.width - size.x - PADDING_EDGE;
Expand Down
Loading