Fwd: Positioning of text

2015-12-16 Thread Jakob Egger
> On 16 Dec 2015, at 19:02, eric g > wrote: > > I was expecting the emoji to be drawn in the lower left corner and do not > understand why is the character drawn so high. Why is the emoji drawn > where it is drawn? The horizontal padding is

Re: Resizing last column of NSTableView when it touches window border

2014-05-12 Thread Jakob Egger
A lot of people seem to misunderstand what I'm complaining about, so I made a short sample video to illustrate the problem SAMPLE VIDEO = This shows the issue both in my app, and in Finder: http://youtu.be/FBpKfw-ifbc PROPOSED SOLUTION == I think the solution

Re: Resizing last column of NSTableView when it touches window border

2014-05-09 Thread Jakob Egger
Looking at Finder windows in column view, I see that it’s able to discriminate column resizing from window resizing when the last column ends at the edge of the window (though it’s not always clear that the correct cursor is displayed). But it’s really hard to tell exactly where the mouse

Resizing last column of NSTableView when it touches window border

2014-05-07 Thread Jakob Egger
I have a NSTableView that spans the full width of the window, so it touches the window borders on both sides. The table view has many columns (it scrolls horizontally). Changing column witdth columns by dragging the separator line works perfectly, except for the last column. The problem is

Re: Help with Help

2014-05-07 Thread Jakob Egger
I'd strongly recommend against using Apple's Help Book application. There are a few problems with Apple Help: Problems with Help Books First of all, they are poorly documented. It is extremely difficult to structure them in the right way. You can't use HTML5, you have to

Re: Resizing last column of NSTableView when it touches window border

2014-05-07 Thread Jakob Egger
Krinock wrote: On 2014 May 07, at 05:27, Jakob Egger ja...@eggerapps.at wrote: I have a NSTableView that spans the full width of the window, so it touches the window borders on both sides. The table view has many columns (it scrolls horizontally). Changing column witdth columns

Re: Layout-triggered animation

2014-04-23 Thread Jakob Egger
New questions: 1. Is there any point in using addConstraint/removeConstraint in the NSAnimationContext grouping? Seems like it can go before beginGrouping. The important thing is that the frames are set inside the grouping. Updating constraints should not cause any frames to be set, only

Re: Layout-triggered animation

2014-04-18 Thread Jakob Egger
Hi Julian, The jittering is probably a result of misusing the animator proxy! The animator proxy is used when you want to directly change properties, for example the frame of a view, or the alpha value. When you use autolayout, the frame will be set by the view's layout method, which does not

Re: Preferences caching?

2013-12-10 Thread Jakob Egger
On 27 Nov 2013, at 08:27 pm, Graham Cox graham@bigpond.com wrote: Great. For me. For users in the field, the command line is the badlands, and we can’t expect many users to be comfortable doing that. Trashing a file is at least something they can understand, even if sometimes even that

Re: Preferences caching?

2013-12-10 Thread Jakob Egger
On 10 Dec 2013, at 04:14 pm, Jens Alfke j...@mooseyard.com wrote: On Dec 10, 2013, at 2:24 AM, Jakob Egger ja...@eggerapps.at wrote: Maybe I am missing something really obvious Yup, you are. You didn’t read back to the beginning of this thread, which started with the observation

Re: Codesigning 3rd party framework

2013-11-05 Thread Jakob Egger
Does anybody know why just specifying --deep in Other Code Signing Flags is wrong? Is it only a problem with Sparkle, or is there a general problem? In my app I just specified --deep and it seems to work! On 29 Oct 2013, at 10:37 pm, Shazron shaz...@gmail.com wrote: See

Re: Identify extension of a file without extension

2013-10-04 Thread Jakob Egger
1) There's also MagicKit, an Obj-C wrapper around libmagic: https://github.com/aidansteele/MagicKit 2) If you just want to know if something is an image, just try loading it: [[NSImage alloc] initWithData:data] If -initWithData: returns nil, it is not an image. Jakob On 28.09.2013, at

Re: NSOutlineView cell size 8 pixels too narrow

2013-10-04 Thread Jakob Egger
I had a similar issue with NSOutlineView in 10.8. I had an outline view that could be hidden by the user, and every time it was shown again, the width of the outline column shrank by a certain amount. It might be a bug in NSOutlineView. Calling -reloadData after the view is shown fixed the