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

Tweak settings sidebar to make it more consistent with previous design #4750

Merged
merged 2 commits into from
Jan 6, 2024

Conversation

uiryuu
Copy link
Member

@uiryuu uiryuu commented Jan 5, 2024


Description:
This commit:

  • For macOS 10.11+, make the leading space of the icon to 0, so that the icon can align with the search icon
  • Reduce the width of sidebar from 220 to 200

A remake of #4292. This time, I subclassed NSTableCellView to manipulate the constraint. The constraint in xib is changed to 0, revert back to 20 on 10.15- systems.

@low-batt Please help to test this on 10.15 machine if you still have one :)

This commit:
- For macOS 10.11+, make the leading space of the icon to 0, so that the icon
can align with the search icon
- Reduce the width of sidebar from 220 to 200
Copy link
Contributor

@low-batt low-batt left a comment

Choose a reason for hiding this comment

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

I tested on a MacBook Air running macOS 10.15.7 and my MacBook Pro running macOS 13.6.3. I checked all of the tabs and the layout looked good to me.

This is what it looks like under macOS 10.15.7, with the top panel running the PR and the bottom panel running 1.3.4:
pr-4750

@uiryuu uiryuu merged commit f486d0d into develop Jan 6, 2024
1 check passed
@uiryuu uiryuu deleted the settings-tweak-mk2 branch January 6, 2024 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants