Fixed resize issue with textview which edits button title. Also fixed resize issue for dropdown.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25890 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-01-07 22:40:56 +00:00
parent 15ec85b917
commit afcc4ce2e4
4 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2008-01-07 17:40-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/1Windows/GormDrawerAttributesInspector.gorm:
Fixed issue with dropdown.
* Palettes/2Controls/GormButtonEditor.m: Fixed minor resize issue.
2008-01-05 Riccardo Mottola <riccardo@kaffe.org> 2008-01-05 Riccardo Mottola <riccardo@kaffe.org>
* GormCore/GormWrapperBuilder.m: removed some c99-isms * GormCore/GormWrapperBuilder.m: removed some c99-isms

View file

@ -426,7 +426,11 @@ static NSRect oldFrame;
[textContainer setWidthTracksTextView: NO]; [textContainer setWidthTracksTextView: NO];
[textContainer setHeightTracksTextView: NO]; [textContainer setHeightTracksTextView: NO];
[textView setHorizontallyResizable: NO];
[textView setVerticallyResizable: NO];
[textView setMinSize: frame.size]; [textView setMinSize: frame.size];
[textView setMaxSize: frame.size];
[textView setAutoresizingMask: NSViewMinXMargin | NSViewMaxXMargin]; [textView setAutoresizingMask: NSViewMinXMargin | NSViewMaxXMargin];
[textView setSelectable: YES]; [textView setSelectable: YES];
[textView setEditable: YES]; [textView setEditable: YES];