Tracker: Make mini mode default for list mode

but if you are in icon mode (like Desktop) use large icons instead.

This change will be important going forwards.
This commit is contained in:
John Scipione 2016-09-02 15:56:51 -07:00
parent ee20ff95a4
commit b339ee18c5
2 changed files with 5 additions and 2 deletions

View File

@ -284,6 +284,9 @@ BPoseView::BPoseView(Model* model, uint32 viewMode)
fTextWidgetToCheck(NULL)
{
fViewState->SetViewMode(viewMode);
if (viewMode == kIconMode && fViewState->IconSize() == B_MINI_ICON)
fViewState->SetIconSize(B_LARGE_ICON);
fShowSelectionWhenInactive
= TrackerSettings().ShowSelectionWhenInactive();
fTransparentSelection = TrackerSettings().TransparentSelection();

View File

@ -460,8 +460,8 @@ BViewState::_Init()
{
fViewMode = kListMode;
fLastIconMode = 0;
fIconSize = B_LARGE_ICON;
fLastIconSize = B_LARGE_ICON;
fIconSize = B_MINI_ICON;
fLastIconSize = B_MINI_ICON;
fListOrigin.Set(0, 0);
fIconOrigin.Set(0, 0);
fPrimarySortAttr = AttrHashString(kAttrStatName, B_STRING_TYPE);