From: Ralph T. <ra...@gm...> - 2005-03-31 18:29:22
|
I'm sorry that I don't know more about this problem on Mac (I know all about it on Windows ;-)). So, is the problem that you can't get widget metrics from GetThemeMetric for small controls? Because I think that you can use the HITheme* APIs to get the sizes of small and mini controls. There's more information here: http://developer.apple.com/releasenotes/Carbon/HIToolbox.html , but the real information is in the Carbon headers. Thanks! Ralph On Mar 31, 2005 8:30 AM, David Catmull <unc...@un...> wrote: > I'm experimenting with a workaround for the GetBestControlRect problem: > hard-code the height for small & mini buttons. It works, except that > buttons get a little clipped when they're at the side or bottom of a > group/tab box like the Update button in the Adam and Eve tabs of the > main window. > > In Interface Builder I can place a control a lot closer to the edge > than where these are getting clipped - and it still looks good in IB's > Carbon Simulator, which I assume is a valid test - so I'm not sure > where the clipping comes from. > > -- > David Catmull > unc...@un... > http://www.uncommonplace.com/ > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel > |