≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #136

Bug #136: Icons inside menu are too widely spaced

Kind bug
Product WinSwitch
When Created 2005-03-11T00:17:22Z, updated 2005-04-25T22:42:28Z
Status closed
Reporter Greg Hurrell
Tags no tags

Description

From a user email:

"The icons in the user menu are spaced considerably further apart (vertically) than the standard Fast User Switching display. See enclosed - comparing the WinSwitch menu display ...to the standard Fast User Switching menu display. Note that the pictures are considerably closer together (vertically) in the standard menu - the WinSwitch menu takes a considerable amount more space. The horizontal spacing (also less in the standard menu) doesn't faze me as much - but might still be worth looking into.

AND: Note that WinSwitch 2.0 did NOT suffer this problem. The vertical spacing there appears to be the same as the standard menu. So, is this a minor problem stemming from the (new) ability to resize the user pictures in this display? Are you now adding a margin around the pictures in this list?"

Mr reply:

Yes, you're right that this didn't occur in 2.0. You can see the evidence on the screenshots page:

https://wincent.dev/a/products/winswitch/screenshots/

I haven't explicitly added a margin, but the geometry calculations did change a little bit. I basically tried to choose an algorithm that produced the most reasonable looking results for all possible size settings. But Cocoa is awfully fiddly when it comes to placing text and images together in an NSAttributedString, as you'll see if you look at the source code. I'll take another look at it.

Comments

  1. Greg Hurrell 2005-03-11T00:17:48Z

    Marking as ASSIGNED.

  2. Greg Hurrell 2005-04-25T22:42:28Z

    I believe this is now fixed when running on Tiger. I forgot to make note of it in the release notes for version 3.1.

    So for now I am going to add the fixed-in-prerelease tag and will make note of it in the release notes for the next version. It would be good if the original poster could confirm the fix when running on Tiger.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets