Added ResizeColumnToPreferred() and ResizeAllColumnsToPreferred().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30684 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d571c5835d
commit
3688802f19
@ -68,3 +68,17 @@ AbstractTable::AddColumn(TableColumn* column)
|
||||
|
||||
BColumnListView::AddColumn(privateColumn, column->ModelIndex());
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
AbstractTable::ResizeColumnToPreferred(int32 index)
|
||||
{
|
||||
BColumnListView::ResizeColumnToPreferred(index);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
AbstractTable::ResizeAllColumnsToPreferred()
|
||||
{
|
||||
BColumnListView::ResizeAllColumnsToPreferred();
|
||||
}
|
||||
|
@ -30,6 +30,8 @@ public:
|
||||
BView* ToView() { return this; }
|
||||
|
||||
virtual void AddColumn(TableColumn* column);
|
||||
void ResizeColumnToPreferred(int32 index);
|
||||
void ResizeAllColumnsToPreferred();
|
||||
|
||||
protected:
|
||||
class AbstractColumn;
|
||||
|
Loading…
Reference in New Issue
Block a user