Skip to content

Make Getting Started dialog resizable and layout-responsive#519

Draft
Copilot wants to merge 1 commit into
masterfrom
copilot/fix-recent-issues
Draft

Make Getting Started dialog resizable and layout-responsive#519
Copilot wants to merge 1 commit into
masterfrom
copilot/fix-recent-issues

Conversation

Copilot AI commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

The Getting Started content could be clipped and unreadable on some displays because the dialog had fixed bounds. This updates the dialog to support resizing and keeps control layout synchronized with window size.

  • Problem surface

    • GettingStartedDialog used fixed positioning and a non-resizable shell, so long onboarding text could be truncated.
  • UI behavior changes

    • Resizable shell: enables SWT.RESIZE for the dialog window.
    • Minimum bounds: adds a minimum dialog size to prevent control overlap/collapse.
    • Dynamic layout: introduces centralized layoutControls(...) and invokes it on SWT.Resize so:
      • action buttons are repositioned,
      • the reports checkbox tracks button row,
      • the text area expands/contracts with available client area.
  • Result

    • Getting Started text remains accessible instead of being permanently clipped in fixed-size windows.
shell = new Shell(parent, SWT.APPLICATION_MODAL | SWT.DIALOG_TRIM | SWT.RESIZE);
shell.setMinimumSize(new Point(520, 300));

shell.addListener(SWT.Resize, e -> layoutControls(leftBound));
layoutControls(leftBound);

Copilot AI changed the title Fix Getting Started dialog text clipping Make Getting Started dialog resizable and layout-responsive Jun 8, 2026
Copilot AI requested a review from angryziber June 8, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants