Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Center TextInput::Icon vertically #1802

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

casperstorm
Copy link
Member

@casperstorm casperstorm commented Apr 20, 2023

This fixes a small issue i noticed after #1702.
The Icon was not properly centered. Notice the two images below.

Old New
Screenshot 2023-04-20 at 12 16 12 Screenshot 2023-04-20 at 12 15 32

I think the reason we didn't notice when merging the other PR was because the icon had a size so it looked to be centered.

@hecrj hecrj added bug Something isn't working widget labels Apr 20, 2023
@hecrj hecrj added this to the 0.9.0 milestone Apr 20, 2023
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Good catch! Thanks.

@hecrj hecrj merged commit e96f26f into iced-rs:master Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working widget
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants