Icons too close

How can I separate icons a little in the object dock? They are too close from each other.

29,710 views 20 replies
Reply #1 Top

Open OD Properities and click on Appearance Tab. Try changing the Icon Size.

Reply #2 Top

It increased the icon size, but the space between the icons is still the same.

Reply #3 Top

There is no setting for icon spacing. You would need to edit all your icons onto bigger backgrounds, for a 128x128 icon make a 148x148 trans background for it as an example. This will make icons when applied at current size setting a little smaller but look more spaced out due to the trans area now around them.

Reply #4 Top

I think some of the dock backgrounds shrink the icons down some and add some space?  Maybe some of the tile-types?  Not quite what you're looking for but maybe an option.

Reply #5 Top

Part of your illusion is you are using a 3d perspective background simulating a glass shelf if there were increased inter icon spacing it would appear that your icons were set back more on the shelf. Your icon spacing seems the same as mine though I use clear backgrounds or themed to the blind mostly but I autohide my docks too so I don't mind. You could add an entry of a spacer between each icon I guess since there is no setting for inter icon spacing.

Reply #6 Top

I found this in the Tile backgrounds:

ResizeIconByPercent = 80;
OffsetIconByPercentX = 50;
OffsetIconByPercentY = 00;

But I don't know how to implement it in my current background.

Anyone? :drool:

Reply #7 Top

I think some of the dock backgrounds shrink the icons down some and add some space? Maybe some of the tile-types? Not quite what you're looking for but maybe an option.

Yep, tiles have icon size in the .ini. For a standard dock would need to add a blank 128x128 image to skin file, add tile info to .ini, then set size. Some of my sets have tile on standard dock, you can look at them to see the settings.

 

Part of your illusion is you are using a 3d perspective background simulating a glass shelf if there were increased inter icon spacing it would appear that your icons were set back more on the shelf. Your icon spacing seems the same as mine though I use clear backgrounds or themed to the blind mostly but I autohide my docks too so I don't mind. You could add an entry of a spacer between each icon I guess since there is no setting for inter icon spacing.

 

The dock style does not matter, if the icons are made using the whole 128x128 canvas they will touch when on dock.

Adding separators will not really work as even if the images is only 2 pixels wide the separator will take the same space as icon size setting, if icon size is 48, then separator spaces will be 48.

Reply #8 Top

I found this in the Tile backgrounds:

ResizeIconByPercent = 80;
OffsetIconByPercentX = 50;
OffsetIconByPercentY = 00;

But I don't know how to implement it in my current background.

Anyone?

There is currently no universal setting for this, it must be done per background. That being said, open the folder for the background you'd like smaller icons for. If it's not already done, do the following:

1. Add a blank .png image to the folder. Name that image "blank.png".

2. Open the .ini file for the background whose icons you want to edit. Add these lines to the top of the code (under the name):

[Tile]
Image                   = blank.png
ResizeIconByPercent     = 75
OffsetIconByPercentX    = 50
OffsetIconByPercentY    = 50

3. Save the .ini file then apply the background through your ObjectDock settings.

I already program these settings into almost every background I create. I personally prefer slightly smaller icons than default, and this also naturally creates more spacing between them.

I would not recommend manually changing your icon image files unless you saved a back up first.

 

 

+2 Loading…
Reply #11 Top

Perfect!
I must agree it looks much better. Well done to both you and to those who helped you get it just the way you wanted it. Isn't this community great?!!5* :wc:

Reply #12 Top

Hmm, that is a nice result.  Makes me want to go hack around in an ini file or two.

Reply #13 Top

Quoting DaveRI, reply 12
Hmm, that is a nice result.  Makes me want to go hack around in an ini file or two.

 

yep - much cleaner and easier thant manually adjusting each icon

+1 Loading…
Reply #14 Top

Beautiful work, gentlemen--a happy ending.

+1 Loading…
Reply #16 Top

But it's not work on the tabbed doc in Plus version.

Can you recommend something to increase spaces between icons in tabbed docs ?

Thank you.

Reply #17 Top

Can you recommend something to increase spaces between icons in tabbed docs ?

See relpy 3, this is only way for tabbed docks.

Reply #18 Top

Quoting Mirsguy, reply 8


There is currently no universal setting for this, it must be done per background. That being said, open the folder for the background you'd like smaller icons for. If it's not already done, do the following:

1. Add a blank .png image to the folder. Name that image "blank.png".

2. Open the .ini file for the background whose icons you want to edit. Add these lines to the top of the code (under the name):

[Tile]
Image                   = blank.png
ResizeIconByPercent     = 75
OffsetIconByPercentX    = 50
OffsetIconByPercentY    = 50

3. Save the .ini file then apply the background through your ObjectDock settings.

I already program these settings into almost every background I create. I personally prefer slightly smaller icons than default, and this also naturally creates more spacing between them.

I would not recommend manually changing your icon image files unless you saved a back up first.

 

 

 

This works perfect, thank you !!!

Reply #19 Top

Quoting PianoArt, reply 18
This works perfect, thank you !!!

:thumbsup:

Reply #20 Top

Kinda fun to use a NOT blank icon. Then your program icons overlay the spacer one.