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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user