Re: ICNS file behaviour on Retina Macs

2017-02-08 Thread Arjan van Leeuwen
the file size of the images contained in your .icns file: https://github.com/avl7771/createicns/. Best regards, Arjan van Leeuwen On Tue, Feb 7, 2017 at 3:20 PM, Andreas Falkenhahn <andr...@falkenhahn.com> wrote: > When using an *.icns file on Retina Macs without providing any expli

Re: NSSegmentedControl NSSegmentStyleSeparated autolayout

2015-08-27 Thread Arjan van Leeuwen
Hi Thaddeus, On Wed, Aug 26, 2015 at 6:20 PM, Thaddeus Cooper tcoo...@nomoreboxes.com wrote: I just checked the documentation and did not see NSSegmentStyleSeparated in the list of NSSegmentStyle enums. Here is the list: enum { NSSegmentStyleAutomatic = 0,

Re: window:willPositionSheet:usingRect: not called in full-screen mode

2015-02-27 Thread Arjan van Leeuwen
On Thu, Feb 26, 2015 at 2:45 PM, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 25 Feb 2015, at 15:47, Arjan van Leeuwen arj...@opera.com wrote: This method is useful in many situations. If your window has a toolbar, for example, you can specify a location for the sheet that is just

window:willPositionSheet:usingRect: not called in full-screen mode

2015-02-25 Thread Arjan van Leeuwen
Hi, To open a save file sheet, I'm starting an NSSavePanel as a sheet via beginSheetModalForWindow:completionHandler:. Because my application needs custom positioning for the sheet, the window delegate of my main window overrides window:willPositionSheet:usingRect:. According to the

Regenerating the dock image of a miniaturized NSWindow

2014-12-26 Thread Arjan van Leeuwen
Hi, After I have called [NSWindow miniaturize], is it possible to refresh the miniaturized dock image somehow? I have changing contents in a window, and would like to update the miniaturization to reflect the actual contents. I've found [NSWindow setMiniwindowImage], but this only allows me to

Re: Regenerating the dock image of a miniaturized NSWindow

2014-12-26 Thread Arjan van Leeuwen
I found that I can use [NSDockTile display] to refresh the icon, and it works! Arjan On Fri, Dec 26, 2014 at 10:50 AM, Arjan van Leeuwen arj...@opera.com wrote: Hi, After I have called [NSWindow miniaturize], is it possible to refresh the miniaturized dock image somehow? I have changing

Re: Regenerating the dock image of a miniaturized NSWindow

2014-12-26 Thread Arjan van Leeuwen
On Fri, Dec 26, 2014 at 11:26 AM, Ken Thomases k...@codeweavers.com wrote: On Dec 26, 2014, at 3:50 AM, Arjan van Leeuwen arj...@opera.com wrote: After I have called [NSWindow miniaturize], is it possible to refresh the miniaturized dock image somehow? I have changing contents in a window