Hi, when I throw together a test app in gorm, the NSTextView does not behave as I would expect, although it works okay from code. instead it grows when resized horizontally but will not shrink back.
I have a gorm file where the text simply does not resize at all, like bug #15988. I may have created it in gorm, but I suspect it is a conversion from a cocoa nib, so there may be a interoperability thing there. an NSTextField with setAutoresizingMask: NSViewWidthSizable seems to show some interesting behaviour when resized. I would have expected the insert point to be at the right hand side when there was too much text to display, and the start of the text at the left when there was enough room. moving the focus on and off the textfield seems to correct this. I understand there is a shared widget for such cells, so this makes sense. I have seen it in a state where the widget is not covering all the cell and/or (depending how you look at it) the text in the cell is in the wrong place, so that the same text is repeated twice. I did try to use a textview instead of a textfield (I only have one!), but I've yet to figure out how to make it behave like a textfield (controlling the number of lines of characters height in particular). I would actually prefer to have the option of multiple lines of input for this box, so it would be nice to figure out a bit better how to do this. I've seen code that will do setstring:@"a very long string", sizetofit,setstring:@"", but how to handle mulitple lines ? Anyway, I'm starting to waffle ... practically instant bugfixes are, as always, gratefully received :-) as are corrections, tips, and any reflections, explanations, etc on textview vs textfield Regards, Paddy _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep