Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Match RadioButton & CheckButton with the design #740

Merged
merged 2 commits into from Mar 22, 2022

Conversation

jpnurmi
Copy link
Contributor

@jpnurmi jpnurmi commented Mar 15, 2022

The indicator is vertically aligned with the title.

Before After
Screenshot from 2022-03-15 16-47-53 Screenshot from 2022-03-15 16-46-20

Ref: #31

RadioIconTile was originally added for aligning arbitrary widgets with
RadioListTile. It has been replaced by RadioButton, which has similar
but not identical layout. This change fixes the layout mismatch by
adapting RadioButton's layout to RadioIconTile, and then reusing it for
implementing RadioButton's and CheckButton's layout. This eliminates a
nice chunk of duplication between RadioButton and CheckButton, and
ensures that all three stay in sync.
The indicator is vertically aligned with the title.
@jpnurmi jpnurmi changed the title Fix RadioIconTile layout Match RadioButton & CheckButton with the design Mar 15, 2022
jpnurmi added a commit to jpnurmi/ubuntu-desktop-installer that referenced this pull request Mar 15, 2022
Copy link
Contributor

@CarlosNihelton CarlosNihelton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@jpnurmi jpnurmi merged commit 61c2d78 into canonical:main Mar 22, 2022
@jpnurmi jpnurmi deleted the radio-icon-tile branch March 22, 2022 14:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants