Skip to content

support circular icon-only buttons - #6597

Draft
toaster wants to merge 4 commits into
fyne-io:developfrom
toaster:feature/circular_button
Draft

toaster wants to merge 4 commits into
fyne-io:developfrom
toaster:feature/circular_button

Conversation

@toaster

@toaster toaster commented Oct 11, 2026

Copy link
Copy Markdown
Member

Description:

This PR introduces widget.NewCircularButton() to create circular, icon-only buttons.

It replaces the low-level approach of #6532.

Piggy-backed: The maximum radius is now rendered as maximum in markup output.

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

Where applicable:

  • Public APIs match existing style and have Since: line.

…m Button#CreateRenderer

This is also done in the renderer’s `#applyTheme` which is called in any case.
The button will only be a circle for square icons.
For all others it will be an oval.
@toaster toaster changed the title Feature/circular button support circular icon-only buttons Oct 11, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 61.384% (+0.01%) from 61.374% — toaster:feature/circular_button into fyne-io:develop

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