mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:50:37 +00:00
Fix calculating columns width for unseparated columns
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21641 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
79dfd20f80
commit
7ae7d410bf
1 changed files with 1 additions and 1 deletions
|
@ -1660,7 +1660,7 @@ static NSTextFieldCell *titleCell;
|
|||
if (_separatesColumns)
|
||||
frameWidth = _frame.size.width - ((columnCount - 1) * NSBR_COLUMN_SEP);
|
||||
else
|
||||
frameWidth = _frame.size.width - (columnCount + (2 * bs.width));
|
||||
frameWidth = _frame.size.width - ((columnCount - 1) + (2 * bs.width));
|
||||
|
||||
_columnSize.width = (int)(frameWidth / (float)columnCount);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue