mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:50:37 +00:00
Set default table column width to 100. Patch by Quentin Mathe
<qmathe@club-internet.fr>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26074 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2a16e4c54c
commit
e8195fd09d
2 changed files with 11 additions and 4 deletions
|
@ -99,8 +99,8 @@
|
|||
- (id)initWithIdentifier: (id)anObject
|
||||
{
|
||||
self = [super init];
|
||||
_width = 0;
|
||||
_min_width = 0;
|
||||
_width = 100;
|
||||
_min_width = 10;
|
||||
_max_width = 100000;
|
||||
_is_resizable = YES;
|
||||
_is_editable = YES;
|
||||
|
@ -207,7 +207,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
/** Return the width of the table column. */
|
||||
/** Return the width of the table column. The
|
||||
default width is 100. */
|
||||
- (float)width
|
||||
{
|
||||
return _width;
|
||||
|
@ -227,7 +228,7 @@
|
|||
/**
|
||||
Return the column's min width. The column can in no way be resized
|
||||
to a width smaller than this min width. The default min width is
|
||||
zero. */
|
||||
10. */
|
||||
- (float)minWidth
|
||||
{
|
||||
return _min_width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue