Author: gadamopoulos
Date: Tue Apr 12 20:59:50 2011
New Revision: 51323
URL:
http://svn.reactos.org/svn/reactos?rev=51323&view=rev
Log:
[shell32]
- Properly arrange icons in explorer shell view window. This also fixes navigating in
files with keyboard arrows
Modified:
trunk/reactos/dll/win32/shell32/shlview.c
Modified: trunk/reactos/dll/win32/shell32/shlview.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shlview.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shlview.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/shlview.c [iso-8859-1] Tue Apr 12 20:59:50 2011
@@ -282,8 +282,13 @@
TRACE("%p\n",This);
dwStyle = WS_TABSTOP | WS_VISIBLE | WS_CHILDWINDOW | WS_CLIPSIBLINGS | WS_CLIPCHILDREN
|
- LVS_SHAREIMAGELISTS | LVS_EDITLABELS | LVS_ALIGNLEFT | LVS_AUTOARRANGE;
+ LVS_SHAREIMAGELISTS | LVS_EDITLABELS | LVS_AUTOARRANGE;
dwExStyle = WS_EX_CLIENTEDGE;
+
+ if (This->FolderSettings.fFlags & FWF_DESKTOP)
+ dwStyle |= LVS_ALIGNLEFT;
+ else
+ dwStyle |= LVS_ALIGNTOP;
switch (This->FolderSettings.ViewMode)
{