• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ToolBar Icons not sorted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ToolBar Icons not sorted


  • Subject: ToolBar Icons not sorted
  • From: Lorenzo <email@hidden>
  • Date: Thu, 26 Jan 2006 00:23:15 +0100

Hi,
I programmatically create a toolbar and add the icons/button.
Even if I add the icons with my own order, at the end the toolbar disposes
the icons in a different order. How can I fix this?

        itemView = [toolBarItemViews objectAtIndex:i];
        name = [itemView title];
        [itemView setToolTip:name];
        item = [[NSToolbarItem alloc] initWithItemIdentifier:name];
        [item setPaletteLabel:name];
        [item setLabel:name];
        [item setView:itemView];
        [item setMinSize:[itemView bounds].size];
        [item setMaxSize:[itemView bounds].size];
        [toolbarItemsCons setObject:item forKey:name];
        [item release];



Best Regards
--
Lorenzo
email: email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ToolBar Icons not sorted
      • From: Brian Ganninger <email@hidden>
  • Prev by Date: Re: TextView Autoresizing Mask problems
  • Next by Date: Re: TextView Autoresizing Mask problems
  • Previous by thread: filtering in NSTreeController
  • Next by thread: Re: ToolBar Icons not sorted
  • Index(es):
    • Date
    • Thread