hi all, i figured this one out.
when you initially create a scroll bar, that is when the horizontal or vertical aspect of the bar is determined. if you resize it later, that does not change the horizontal or vertical setting. so i was initializing my scroll bars with a square rectangle and calling the resize routine right after that. that is why one of the bars was hidden -- it was a horizontal bar in a vertical slot, or vice verse. best, bill appleton On Fri, Apr 30, 2010 at 12:04 PM, Bill Appleton < billapple...@dreamfactory.com> wrote: > hi anyone out there, > > i am having trouble using NSScroller by itself, not in a scroll view, etc. > > if i open more and more text windows a scroll bar will appear on the right > or bottom of each one > > each window has 2 scroll bars, i have verified there are 2 sub views, but > only one appears at a time > > i can't find any graphics clipping problems or something like that > > i have looked for something that tells the scroll bar to be vertical or > horizontal but can't find it, i assume it looks at the width or height & > just does that automatically > > i think i can see a horizontal bar stuck in a little piece of the vertical > slot, and a vertical bar stuck in the horizontal slot > > the slots are correct in size, but maybe the bar hasn't re-jiggered to fit > the slot > > does anyone know what is going on? > > > thanks, > > bill appleton > > > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com