Skip to content

Fixed a 1-pixel width issue on pick_list#1679

Merged
hecrj merged 1 commit into
iced-rs:masterfrom
casperstorm:pick_list/width
Jan 28, 2023
Merged

Fixed a 1-pixel width issue on pick_list#1679
hecrj merged 1 commit into
iced-rs:masterfrom
casperstorm:pick_list/width

Conversation

@casperstorm

Copy link
Copy Markdown
Member

I noticed the width of menu was 1-pixel too short. This is particularly noticeable in a pick_list if you pay a close attention when hovering on an item. See below and notice the container of the menu is shorter than the selection.

Screenshot 2023-01-26 at 9 36 11 AM

The width: bounds.width - 1.0 in the code looked intentional but I don't think it was, so I removed it.

Screenshot 2023-01-27 at 10 20 18 AM

@13r0ck 13r0ck mentioned this pull request Jan 27, 2023
@hecrj hecrj added bug Something isn't working widget rendering labels Jan 28, 2023
@hecrj hecrj added this to the 0.8.0 milestone Jan 28, 2023
@hecrj hecrj merged commit b9028b2 into iced-rs:master Jan 28, 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 rendering widget

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants