Re: Dock position and size
Re: Dock position and size
- Subject: Re: Dock position and size
- From: Sandro Noël <email@hidden>
- Date: Sun, 14 Feb 2010 22:40:55 -0500
> This sounds like a pretty challenging task, especially given the fact that the Dock itself is so tightly coupled with many other OS X technologies (Spaces, Exposé, etc). Probably the closest utility to achieving this goal and still maintaining compatibility with these OS X niceties is Docks, formerly distributed by Thoughtful Tree Software and soon by Big Nerd Ranch. (There are other similar utilities, but I recommend Docks, on the basis that I wrote it and am thus biased.) But by all means if you want to try and write a new solution, go for it. Just remember how tightly integrated into OS X the Dock is, because a lot of people count on that fact.
>
> -Steven
>
The approach of your project is very original, switching docks while switching spaces is a great feature.
unfortunately not what I am trying to achieve,
I'm extremely lazy clicker, I do not want to have to remember in what configuration of the dock I placed this and that application.
I want them in my face all the time. I understand that not all user have a need for such a thing or screen real-estate, but I do.
I think I found my solution, there is a way to "guess" the dock width it heroic but :)
width = tilesize * (items in he dock) + (width of separator [scaled proportional to height of separator] ) + (tile separation pixels))
height = screen frame - visibleFrame
if i recalculate it every time the window is shown i should be close to the spot most of the time.
the zoom of the dock is irrelevant as it does not change the visible frame.
any comments are welcome.
Sandro.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden