Skip to content

feat(ui): add Windows-style window controls caption buttons and setting - #65

Open
Kyuzan0 wants to merge 1 commit into
enowdev:mainfrom
Kyuzan0:feat/window-controls-switch
Open

Kyuzan0 wants to merge 1 commit into
enowdev:mainfrom
Kyuzan0:feat/window-controls-switch

Conversation

@Kyuzan0

@Kyuzan0 Kyuzan0 commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds Windows-style caption buttons (minimize, maximize, close) with setting:

  • Implements ui/windowbuttons.go with hover and pressed states, fully formatted with gofmt.
  • Adds appearance setting card under Settings > Appearance (ui/appearance_windowcontrols.go, ui/appearance.go, ui/state.go).
  • Documents the window controls switch in docs/settings.md.
  • Adds full test coverage in ui/windowbuttons_test.go.

Verification

  • Passed go test -v ./ui -run TestWindow|TestWindowsStyleButtons|TestWindowControlStyleAppearanceSetting
  • Clean gofmt -l

… caption buttons

- Add setting in Appearance page to toggle window controls style
- Render Windows-style Minimize, Maximize, and Close buttons on right
- Add tests for window controls selection and persistence
- Format with gofmt and document in docs/settings.md
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