Skip to content

reduce and unify padding on text inputs and selects - #18057

Merged
kevinushey merged 3 commits into
mainfrom
bugfix/input-control-padding
Jun 24, 2026
Merged

kevinushey merged 3 commits into
mainfrom
bugfix/input-control-padding

Conversation

@kevinushey

Copy link
Copy Markdown
Collaborator

Summary

Text input fields and drop-down (<select>) controls had grown overly
padded, which read as cramped/heavy especially in dark themes.

Commit 6904bbc (#17242) added padding: 4px 6px to dialog text
inputs, and the shared GWT control rules used padding: 4px /
padding: 4px 6px. This PR introduces a shared @def CONTROL_PADDING
(2px 5px) in themeStyles.css and applies it uniformly to:

  • the bare select element rule
  • .gwt-TextBox, .gwt-PasswordTextBox, .gwt-ListBox
  • the .gwt-ListBox override

so text inputs and selects share one compact, consistent padding across
light and dark themes.

Notes

  • No functional/behavioral change; CSS only.
  • Verify with cd src/gwt && ant draft (the GWT compile resolves the
    @def constant).

Commit 6904bbc (#17242) added padding: 4px 6px to dialog text
inputs and the GWT control rules (.gwt-TextBox/.gwt-ListBox) used
padding: 4px / 4px 6px. This read as overly padded, especially in
dark themes.

Introduce a shared @def CONTROL_PADDING (2px 5px) in themeStyles.css
and apply it to the select element, .gwt-TextBox/.gwt-PasswordTextBox/
.gwt-ListBox, and the .gwt-ListBox override, so text inputs and
selects share one compact, consistent padding across light and dark
themes.
@kevinushey kevinushey added this to the 2026.07 (Pacific Dogwood) milestone Jun 24, 2026
@github-actions

github-actions Bot commented Jun 24, 2026 •

Copy link
Copy Markdown

🍎 macOS Desktop E2E · ARM64

✅ All tests passed!

████████████████████ 100% pass rate

✅ Passed ❌ Failed ⚠️ Skipped 🔁 Flaky
402 0 18 0
📥 Download Playwright report

⬇️ playwright-report.zip — extract and open index.html

Includes screenshots, traces, and step-by-step details for every test. Expires in 15 days.


2 shards · macos-26 ARM64 · commit b4edf8aa128c8a092c770c1d177532178c94fca2 · Run #168

@kevinushey
kevinushey merged commit 5781bc3 into main Jun 24, 2026
@kevinushey
kevinushey deleted the bugfix/input-control-padding branch June 24, 2026 23:02
@github-actions

Copy link
Copy Markdown

🪟 Windows Desktop E2E · Server 2025 x64

✅ All tests passed!

████████████████████ 100% pass rate

✅ Passed ❌ Failed ⚠️ Skipped 🔁 Flaky
406 0 15 1
📥 Download Playwright report

⬇️ playwright-report.zip — extract and open index.html

Includes screenshots, traces, and step-by-step details for every test. Expires in 15 days.


2 shards · Windows Server 2025 x64 · commit b4edf8aa128c8a092c770c1d177532178c94fca2 · Run #168

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.

1 participant