Change truncation mode for image/function list views.

Since for image/file paths, the most interesting part is generally the
filename at the end, and the initial path information is mostly
redundant, it makes more sense to truncate at the beginning.
This commit is contained in:
Rene Gollent
2013-05-04 21:18:38 -04:00
parent 69d85497fd
commit 73eeef0a52
2 changed files with 2 additions and 2 deletions
@@ -444,7 +444,7 @@ ImageFunctionsView::_Init()
// columns
fFunctionsTable->AddColumn(new StringTableColumn(0, "File/Function", 300,
100, 1000, B_TRUNCATE_END, B_ALIGN_LEFT));
100, 1000, B_TRUNCATE_BEGINNING, B_ALIGN_LEFT));
fFunctionsTableModel = new FunctionsTableModel();
fFunctionsTable->SetTreeTableModel(fFunctionsTableModel);
@@ -292,7 +292,7 @@ ImageListView::_Init()
fImagesTable->AddColumn(new Int32TableColumn(0, "ID", 40, 20, 1000,
B_TRUNCATE_MIDDLE, B_ALIGN_RIGHT));
fImagesTable->AddColumn(new StringTableColumn(1, "Name", 80, 40, 1000,
B_TRUNCATE_END, B_ALIGN_LEFT));
B_TRUNCATE_BEGINNING, B_ALIGN_LEFT));
fImagesTable->AddTableListener(this);