NSPopUpButton sizeToFit - changed in leopard?

  • on tiger, sizeToFit for an NSPopUpButton would return the size of the
    popup given the currently selected item. empiracally, it appears that
    on leopard, sizeToFit returns the size as if the largest menu item is
    selected.

    can anyone tell me whether or not teh above assumption based on my
    empiracal tests is correct?

    i didn't see this mentioned in the leopard release notes. did i miss something?

    thanx,
    ken
  • On Dec 4, 2007, at 4:30 PM, Ken Victor wrote:

    > on tiger, sizeToFit for an NSPopUpButton would return the size of
    > the popup given the currently selected item. empiracally, it
    > appears that on leopard, sizeToFit returns the size as if the
    > largest menu item is selected.
    >
    > can anyone tell me whether or not teh above assumption based on my
    > empiracal tests is correct?
    >
    > i didn't see this mentioned in the leopard release notes. did i
    > miss something?

    Yes, your conclusion is correct.

    -Peter
previous month december 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Go to today