[Adium-devl] Tab bug?
Kent Sutherland
kent.sutherland at gmail.com
Wed Apr 18 01:05:01 UTC 2007
Well I've spend a while poking around in PSMTabBarControl and Evan's
right about the windowStatusDidChange: method. Apparently there is an
_awakenedFromNib variable, and it was messing things up a bit. I moved
it out of windowStatusDidChange: to viewWillMoveToWindow:, but there's
still a small problem. Rather than immediately hiding the tab bar,
hideTabBar:animate: gets called with animate set to YES. This means
when you get a new message now you see the tab bar, but it immediately
hides itself. Not perfect, but an improvement :p
All the other tricks I tried tonight caused other things to break, so
I'm stumped for now. I'm going to try to fix the rest of the problem
tomorrow, unless someone else gets to it first.
I also found another minor problem with the sidebar icons:
http://www.ksuther.com/adium/sidebar-alignment.png
The status image/close button is misaligned. The first two tabs always
seem to get it right, but subsequent tabs are aligned wrong. Forcing
the tab bar to redraw itself fixes the problem though.
Kent
On 4/17/07, Evan Schoenberg <evan at adiumx.com> wrote:
>
>
> On Apr 17, 2007, at 12:44 PM, Ari Johnson wrote:
>
>
> Now, let's see if I can find the time and brain power to understand
>
> PSMTabBarControl's code. I suppose the good thing is that it's much
>
> less code to wade through than Adium. :)
> A thought:
> viewWillMoveToWindow:
> sets up some observers for became key / resigned key.
>
> perhaps calling the the windowStatusDidChange: method directly in a new
> viewDidMoveToWindow:
> method would force immediately what current happens the first time the
> window becomes key.
>
> -Evan
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>
>
>
More information about the devel
mailing list