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

Add horizontal width constraint for the toolbar navigation control #807

Closed

Conversation

bogdanbolchis
Copy link

On macOS 12.2.1 (Monterey) the three button segmented control is clipped
on the right side, making the "Stashes View" segment shorter than normal.

This change adds a width constraint on the segmented controls, which
fixes the problem on 12.2.1.

On macOS 12.2.1 (Monterey) the three button segmented control is clipped
on the right side, making the "Stashes View" segment shorter than normal.

This change adds a width constraint on the segmented controls, which
fixes the problem on 12.2.1.
@bogdanbolchis
Copy link
Author

Hi all!

This bugfix PR should help with a visual issue on macOS 12 (Monterey). Here is a screenshot of the issue:

Screenshot 2022-03-08 at 14 45 03

This should be tested on previous macOS versions. Unfortunately I don't have access to macOS < 12.

@lucasderraugh
Copy link
Collaborator

Thanks for looking into this! It bothers me that this needs a constraint at all considering it resolves itself if you readjust the window size. In theory the intrinsic content size should be enough with the given constraints, though clearly that isn't the case. I'll try it out this weekend and I'll take this change if I don't see an obvious resolution.

@JokerQyou
Copy link

JokerQyou commented May 8, 2022

...it resolves itself if you readjust the window size. ...

It's strange that if I manually resize the window by dragging at the border the issue resolves itself; but when using window manager utilities (like Magnet) to set window to half the screen width it does not.

@lucasderraugh
Copy link
Collaborator

@bogdanbolchis I ended up going with just fixing the widths of the segmented control 628f48b. I appreciate you doing this so long ago and I apologies for not giving quicker turnaround.

@bogdanbolchis
Copy link
Author

bogdanbolchis commented Oct 11, 2022 via email

@danielsaadaudajr
Copy link

danielsaadaudajr commented Oct 13, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants