possible to change list item height/spacing?

As someone posted a few posts up (the disable auto arrange link), it's possible to change the spacing by changing some things in the registry for the different folder types. So it might be possible that values already stored there for you override the ones you edited in the dll.

Another thing is that the spacing is only for list view if I remember correctly, not any other. For example you can "zoom" in one step from list view (shift + mouse wheel) and the icons may appear as if they are list view but it's no longer list view. So if the customization for Music folder etc. happens to not be list view then that might be the problem.

I'm not really that well informed on how all the folder template stuff works. What I did was whenever I encountered a folder content type that I didn't like, I would set the view setting like I want them and then open Folder Options and click "Apply to Folders" so it saves that type layout.
 

My Computer My Computer

At a glance

w7-64, w2k
OS
w7-64, w2k
Just need to say thank you tweaker. Just what I was searching for.

I also was looking into how to change the spacing in the navigation pane. Searched far and wide and stumbled on a magical little program called classical shell which does everything i want and a little more. It can even change start menu look.
its open source

Welcome to Classic Shell
 

My Computer My Computer

At a glance

windows 7 x86
OS
windows 7 x86
Another thing is that the spacing is only for list view
Works perfectly for list view, however I would love to have the same padding for the detail view (which is my preferred one). Is it possible?
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
Another thing is that the spacing is only for list view
Works perfectly for list view, however I would love to have the same padding for the detail view (which is my preferred one). Is it possible?

it appears on mine that having removed the padding and spacing worked fine in list view, but that the details view has still less padding! (21 items displayed where there was space for only 20 in list view, despite details view's additional toolbar taking up space). (this, when folders are customized to General Items)
 

My Computer My Computer

At a glance

Windows 7 Home Premium 32bitAMD Athlon II X2 250 Processor 3.00 GHz2Gb DDR2onboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom
OS
Windows 7 Home Premium 32bit
CPU
AMD Athlon II X2 250 Processor 3.00 GHz
Motherboard
Gigabyte
Memory
2Gb DDR2
Graphics Card(s)
onboard
Sound Card
onboard
Monitor(s) Displays
Viewsonic VA2448m-LED 23.6" LED
Screen Resolution
1920 x 1080
Hard Drives
internal: 1.5 TB Samsung Spinpoint
external: Samsung 2TB USB3.0; 1.5TB Samsung G3 Station
PSU
350w
Case
CoolerMaster
Keyboard
Microsoft Desktop 800
Mouse
Microsoft Desktop 800
Internet Speed
1Mbps
Antivirus
MSE
Browser
Firefox
Other Info
3.4 rating on the "Windows Experience Index"
I found some references to the detail view in the xml, but no padding parameter.
With the recommended modification from this thread, my detail view is looking exactly as the old one, what did you changed Lykho?
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
Fixed Details View Spacing (mostly)

Thank you so much to Tweaker and everyone who solved some of the line spacing problems with ExplorerFrame mods. The wide line spacing was driving me nuts!

The changes in this thread indeed fixed List View right-pane spacing but the only improvement in Details View was to reduce the right-pane left margin.

I succeded however in fixing the right pane spacing in Details View by searching for
<UICollection resid="collection.details and in the first result ADDING padding="rect(0,0,0,0)" There was no padding entry under that heading before.

This reduced the right-pane line spacing beautifully! It did not change left-pane spacing or the right-click context menus.

I have not yet tried this for the other two search results for <UICollection resid="collection.details but I'll let you know what happens if I do.

When I also added the suggested columnwidth and itemspacing entries, the right pane went entirely blank! No files or folders appeared on the right pane. So I reverted to an earlier version and just tried the one padding entry.

I really want to fix the spacing on the right-click menus; has anyone had success with those?

By the way, the registry hack mentioned in this thread worked well by itself to fix a Vista computer using Classic menus. Haven't tried to see if it also fixed line spacing in that computer's Aero view.
 
Last edited:

My Computer My Computer

At a glance

Windows Pro 7 64
OS
Windows Pro 7 64
@arthaman: I tried to add your tweak to me Explorer.dll
I started with a clean dll (without the fix for list view) and changed the following line
Code:
<UICollection resid="collection.details" LogicalImageSize="16" layout="borderlayout()" UIItemCreationPropMap="item.details">
to
Code:
<UICollection resid="collection.details" padding="rect(0,0,0,0)" LogicalImageSize="16" layout="borderlayout()" UIItemCreationPropMap="item.details">
Nothing changed in my explorer :sarc:
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
Hmmm, it must depend upon the list view modifications.

I had made all the mods Tweaker wrote up on the first page before trying what I wrote up. The change from 22rp to 17rp at the bottom is indeed a details view property; so you'll probably need to try the others in addition to mine to get the results in details view.

Hope it works for you!
=========================================
Tweaker's mods:

In the following 3 sections
<UICollection resid="collection.list.groups"
<UICollection resid="collection.list.ungrouped"
<UICollection resid="collection.list.insidegroup"

changing:

padding="rect(14rp,0,0,0)
to
padding="rect(0,0,0,0)

columnwidth="20rp"
to
columnwidth="17rp"

itemspacing="size(10rp,1rp)"
to
itemspacing="size(6rp,0rp)"

and

...If I had to guess it would be

height="22rp"

there's only one occurence of that (inside a <style resid="details"> block), and 22 pixels is exactly the line size in details view. But I can't say for sure that it will work.

edit: for reference 17 would be the old windows height
 
Last edited:

My Computer My Computer

At a glance

Windows Pro 7 64
OS
Windows Pro 7 64
With all modifications it works! Thanks.
Now I would also love to reduce line height in the left tree view and in the right clic menu. :p
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
OS
Windows 7 Ultimate x64
has anyone else found their height/spacing has returned to default?
maybe I'm mistaken, but it seems like subsequent to SP1 or some other update my changes have vanished. (I haven't verified this in the .dll yet (as a novice I find these things are serious hassle...oh for an options menu in 'Personalize' where such things could be changed as easily as desktop icon size and alignment!), just going by appearances)
 

My Computer My Computer

At a glance

Windows 7 Home Premium 32bitAMD Athlon II X2 250 Processor 3.00 GHz2Gb DDR2onboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom
OS
Windows 7 Home Premium 32bit
CPU
AMD Athlon II X2 250 Processor 3.00 GHz
Motherboard
Gigabyte
Memory
2Gb DDR2
Graphics Card(s)
onboard
Sound Card
onboard
Monitor(s) Displays
Viewsonic VA2448m-LED 23.6" LED
Screen Resolution
1920 x 1080
Hard Drives
internal: 1.5 TB Samsung Spinpoint
external: Samsung 2TB USB3.0; 1.5TB Samsung G3 Station
PSU
350w
Case
CoolerMaster
Keyboard
Microsoft Desktop 800
Mouse
Microsoft Desktop 800
Internet Speed
1Mbps
Antivirus
MSE
Browser
Firefox
Other Info
3.4 rating on the "Windows Experience Index"
Classic Shell - spacing

Love Classic Shell, but AFAIK you can only change the spacing in the navigation pane, not the file list pane.

Am I missing something, because I sure would like to change it without mucking through changing the dll.
 

My Computer My Computer

At a glance

Win 7 64
OS
Win 7 64
For those who are still looking for 64 bit tweaked file, you can try this one. It's a modified file I just did and so far it works fine (i'm using details view primarily). I'm not responsible if anything happens on your system though. I use both this tweak and the classic shell. This is NOT a zip file, I used ".zip" extension to bypass the upload requirement. So just remove the ".zip" from the filename and replace your explorerframe.dll file.

Thank you to everyone who has kindly post the instructions.
 

Attachments

My Computer My Computer

At a glance

Windows 7 x64
OS
Windows 7 x64
Thanks for sharing
 

My Computer My Computer

At a glance

7 Ultimate x64i7 8608 GB DDR3 1600 (4x2GB G.Skill Ripjaws)Radeon HD 5850
Computer Manufacturer/Model Number
DIY
OS
7 Ultimate x64
CPU
i7 860
Motherboard
ECS P55H-A Black
Memory
8 GB DDR3 1600 (4x2GB G.Skill Ripjaws)
Graphics Card(s)
Radeon HD 5850
Monitor(s) Displays
HP ZR24w
Screen Resolution
1920x1200
Hard Drives
G.Skill Falcon 64 SSD | WD 320 AAKS | WD 500 AAKS | WD 20EARS | WD20EARX | WD10EALX | OCZ Vertex II 180
PSU
Enermax Liberty Eco 620 modular
Case
Xigmatek Midgard
Cooling
Xigmatek HDT S963
Keyboard
X6 Sidewinder
Mouse
MS Comfort Optical 3000
For those who are still looking for 64 bit tweaked file, you can try this one.

Yes, just wanted to say THANK YOU as well! The file worked perfectly and now one of my biggest Win7 gripes is no longer an issue. :)

m19
 

My Computer My Computer

At a glance

Win7 (64)
OS
Win7 (64)
Actually, there's a small hiccup... Your replacement .dll works great for tightening up Explorer, but for some reason using it completely wipes out Firefox's folder navigation in the Save As window:

attachment.php


The pane's still there, just none of the icons or folder tree are. Any idea why that's happening?

m19
 

My Computer My Computer

At a glance

Win7 (64)
OS
Win7 (64)
Just signed up after finding this forum and wanted to say thanks to Tweaker, Ron11 & Artharman for the info. The 22rp edit provided by Artharman fixed my details pane and Ron's steps worked so I didn't have to log out.




The procedure works as described on W7 Pro 64bit, but you must make sure to:

1. Use Resource Hacker
version 3.5.2 beta
2. Use "Save", NEVER use "Save As"!

My procedure:

1. Take ownership, etc. of "ExplorerFrame.dll" in c:\windows\system32
2. create backup of ExplorerFrame.dll !!!
2. Copy ExplorerFrame.dll to user folder
3. Edit with RH, press "Compile script", "Save"
4. Start Administrator console (Start, type "cmd", press ctrl+shift+enter)
5. From console: Kill explorer.exe (I've been using pskill from Mark Russinovich since NT...)
6. From console: Copy edited ExplorerFrame.dll to system32 folder
7. Run "explorer.exe" either from console or task manager

That's it. You do not even need to log off / log on, just kill & restart explorer.exe.


If you mess up & explorer is unable to start, reboot computer in "Safe mode with command prompt" and replace the .dll with backup copy. No restore or new install needed
:)


...If I had to guess it would be

height="22rp"

there's only one occurence of that (inside a <style resid="details"> block), and 22 pixels is exactly the line size in details view. But I can't say for sure that it will work.

edit: for reference 17 would be the old windows height
 

Attachments

  • detail_pane.png
    detail_pane.png
    2.3 KB · Views: 847

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Changing as in the first lot below results in list spaced correctly but not details. If then search for <UICollection resid="collection.details and in addition change

padding="rect(14rp,0,0,0)
to
padding="rect(0,0,0,0)

then the list view reverts to stupid spacing and the details becomes correct. So then I tried changing the details padding to padding="rect(1rp,0,0,0) and it went back to list being correct but details being stupidly spaced. Any ideas?
In the following 3 sections
<UICollection resid="collection.list.groups"
<UICollection resid="collection.list.ungrouped"
<UICollection resid="collection.list.insidegroup"

changing:

padding="rect(14rp,0,0,0)
to
padding="rect(0,0,0,0)

columnwidth="20rp"
to
columnwidth="17rp"

itemspacing="size(10rp,1rp)"
to
itemspacing="size(6rp,0rp)"
 

My Computer My Computer

At a glance

windows 7
Computer type
PC/Desktop
OS
windows 7
Here is how to do it on Windows 10 for details view.
Win10 details view padding | WinClassic

I can't thank the OP of this thread enough, this was my biggest pet peeve with Win7, now it can be fixed for Win10 too.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64-bitIntel(R) Core(TM) i5-7400 CPU8GB DDR4Intel HD Graphics 630
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Acer
OS
Windows 7 Ultimate 64-bit
CPU
Intel(R) Core(TM) i5-7400 CPU
Motherboard
Aspire TC-780
Memory
8GB DDR4
Graphics Card(s)
Intel HD Graphics 630
Monitor(s) Displays
1
Screen Resolution
1920x1080
Hard Drives
One system SSD, one data SSD, one 2TB data HDD.
PSU
240w
Keyboard
Logitech USB wireless
Mouse
USB wireless
Browser
Firefox
Back
Top