On 22 May 2008, at 10:43 PM, Maxwell, Adam R wrote:
>
>
>
> On 05/22/08 13:32, "Christiaan Hofman" <[EMAIL PROTECTED]> wrote:
>
>> On 22 May 2008, at 10:06 PM, M A wrote:
>>
>>> I upgraded to 1.3.17 (from 1.3.14 where I could alter the font
>>> size of
>>> the preview pane) to try out the new functionality of zooming the
>>> text. Although the new feature was a nice try, it does not succeed
>>> in
>>> providing the functionality of earlier versions (e.g. 1.3.14). The
>>> problem is that zooming in, or selecting a larger than 100% value in
>>> the bottom right corner might make the text larger but it doesn't
>>> fit
>>> it into the window anymore. So, trying to read the abstract, for
>>> instance, or even just seeing the whole title, is no longer possible
>>> without scrolling from side to side. Is it possible to make the text
>>> fit into the window? (I know the inclination is to say "no" to
>>> feature
>>> requests, but this is not so much about adding a new feature as
>>> reverting back to an old, and nice, one.)
>>>
>>> Mark A
>>
>> Indeed, the answer is no. We won't go back to the old system. There
>> were too many view options while still being too restricted in the
>> choices you had. Templates make the these specific choices obsolete
>> and allow an enormous amount of customization.
>>
>> I think your request should be more to make zooming better behaved,
>
> The way I read it, that /was/ his request...
>
>> by
>> fitting to the available space when you rescale. I think that's
>> possible, and try to implement it.
>
> I tried my idea of scaling the textview in a test project, and it
> seems to
> work pretty well:
>
> - (IBAction)increase:(id)sender;
> {
> [_textView scaleUnitSquareToSize:NSMakeSize(1.2, 1.2)];
> [[_textView layoutManager] textContainerChangedGeometry:[_textView
> textContainer]];
> [_textView setNeedsDisplay:YES];
> }
>
> - (IBAction)decrease:(id)sender;
> {
> [_textView scaleUnitSquareToSize:NSMakeSize(0.8, 0.8)];
> [[_textView layoutManager] textContainerChangedGeometry:[_textView
> textContainer]];
> [_textView setNeedsDisplay:YES];
> }
Something like that (but using sizeToFit) is already in SVN.
Christiaan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users