[SERVMAN]

Arrange large and small icons after changing the view.
Patch by Carlo Bramini.
#CORE-10350 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70288
This commit is contained in:
Eric Kohl 2015-12-07 18:19:05 +00:00
parent dd58b4a93f
commit 1f8f0bae7c

View file

@ -558,8 +558,9 @@ MainWndCommand(PMAIN_WND_INFO Info,
break;
case ID_VIEW_LARGE:
SetListViewStyle(Info->hListView,
LVS_ICON);
SetListViewStyle(Info->hListView, LVS_ICON);
ListView_Arrange(Info->hListView, LVA_DEFAULT);
CheckMenuRadioItem(GetMenu(Info->hMainWnd),
ID_VIEW_LARGE,
ID_VIEW_DETAILS,
@ -568,8 +569,9 @@ MainWndCommand(PMAIN_WND_INFO Info,
break;
case ID_VIEW_SMALL:
SetListViewStyle(Info->hListView,
LVS_SMALLICON);
SetListViewStyle(Info->hListView, LVS_SMALLICON);
ListView_Arrange(Info->hListView, LVA_DEFAULT);
CheckMenuRadioItem(GetMenu(Info->hMainWnd),
ID_VIEW_LARGE,
ID_VIEW_DETAILS,