Re: Window resizing autolayout?

2012-12-24 Thread Antonio Nunes
On 24 Dec, 2012, at 08:28 , Kyle Sluder wrote: > Changing the text of a label will cause it to call [self > invalidateIntrinsicContentSize], which will ensure a layout pass happens > on the next window update. > > My hunch is that NSPopover manually manages the size of its window to > match is c

Re: Window resizing autolayout?

2012-12-24 Thread Antonio Nunes
On 24 Dec, 2012, at 08:25 , Quincey Morris wrote: > On Dec 23, 2012, at 22:44 , Antonio Nunes wrote: > >> Currently, in awakeFromNib, I adjust all user facing interface elements to >> the target language, and I had hoped that with wider, and sometimes higher >> controls, the containing sheet

Re: Low-level text, why so hard?

2012-12-24 Thread Jeff Schriebman
> On Sun, Dec 23, 2012, at 09:32 PM, Graham Cox wrote: >> I need to use Quartz to draw a single character - a check mark - in a >> graphics context. I don't need anything elaborate, no typesetting etc, I >> just want to draw a single checkmark. I use the following code to put an arbitrary unicode

Re: Window resizing autolayout?

2012-12-24 Thread Antonio Nunes
On 24 Dec, 2012, at 11:22 , Antonio Nunes wrote: >> It seems to me that changing the UI elements in awakeFromNib probably isn't >> enough, since that doesn't tell the layout system that something has >> changed. Anyway, these documents try to explain the correct place to make >> the adjustment