Skip navigation.
 
mlRe: Rotating an NSTableView.
FROM : Corbin Dunn
DATE : Thu May 01 22:47:49 2008

On May 1, 2008, at 8:27 AM, Peter Hudson wrote:
> I have an NSTable View inside an NSSplitView.
> I rotate the table view by sending  rotateByAngle:270  to the 
> enclosing scroll view.
> The table lands up exactly as I want it with vertical rows.


That's cool!

>
>
> The problem is that when I resize the split view the NSTableView 
> does not change size to fit the split view movement as it does when 
> the table is not rotated.
>
> Does anyone have any idea what is going on.  I've tried all the 
> usual games with setting frame and bounds etc - but to no avail.


Is your splitview splitting horizontal or vertical?

Have you tried rotating the enclosing scrollview instead of the table 
itself?

Have you tried manually calling -tile on the table?

Note: I haven't tried this myself....these are just things that came 
to mind.

corbin

Related mailsAuthorDate
mlRotating an NSTableView. Peter Hudson May 1, 17:27
mlRe: Rotating an NSTableView. Corbin Dunn May 1, 22:47
mlRe: Rotating an NSTableView. Michael Nickerson May 3, 01:53