Configurable vertical distance & custom toolbar icons

Features wanted...
submono
Posts: 3
Joined: 25 Mar 2007 10:36
Location: Shanghai, China

Configurable vertical distance & custom toolbar icons

Post by submono »

Hi everyone,

I'd like to have the option to customize the vertical distance between folders in the tree view (and maybe also the other views). It's a little bit cramped and makes navigation harder than it is in WE. I know that this topic has been discussed before but Don said that he >could< make this configurable if there is enough support for it :) So...

I'd also like to be able to change the toolbar icons. They're kind of old fashioned and remind me too much of Win 95. I'm not much of a modder/skinner but these little buggers hurt my eyes :D

admin
Site Admin
Posts: 66279
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Configurable vertical distance & custom toolbar icon

Post by admin »

submono wrote:I'd like to have the option to customize the vertical distance between folders in the tree view (and maybe also the other views). It's a little bit cramped and makes navigation harder than it is in WE. I know that this topic has been discussed before but Don said that he >could< make this configurable if there is enough support for it :) So...
Well, I did it. Just to show off what I can do with my tree. :wink: 8)
submono wrote:I'd also like to be able to change the toolbar icons. They're kind of old fashioned and remind me too much of Win 95. I'm not much of a modder/skinner but these little buggers hurt my eyes :D
Win95?? :roll: Come on, I think they are still pretty XP. And you are already Vista-spoiled! :P

submono
Posts: 3
Joined: 25 Mar 2007 10:36
Location: Shanghai, China

Post by submono »

Hi there,
Well, I did it. Just to show off what I can do with my tree.
Hmmmm, I will only believe it when you have done with my tree too :wink: Let's see it!

Vista-spoiled? Well, I'll try to stay away from it as long as possible. And you're kind of biased, aren't you? You put them there in the first place so you have to love them. Parents love their babies, no matter what :mrgreen:

submono

admin
Site Admin
Posts: 66279
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

submono wrote:Hi there,
Well, I did it. Just to show off what I can do with my tree.
Hmmmm, I will only believe it when you have done with my tree too :wink: Let's see it!
Your turn now. Download the latest BETA, Open Xyplorer and Close it again (to create the new TreeItemDistY key), open XYplorer.ini, find this key, edit it to e.g. TreeItemDistY=2, restart XYplorer. Now you have a lot of air in the tree.

submono
Posts: 3
Joined: 25 Mar 2007 10:36
Location: Shanghai, China

Post by submono »

Okay, yes! That's what I was hoping for. Balsam fuer meine geschundenen Augen (a remedy for my sore eyes) :D Maybe I'm just getting old.

Tried -15 but it's a little bit too advanced for me. Maybe something for those dark, cold nights alone in the office.

Soooo, now about these icons... :wink:

Thanks, submono

Gandolf

Post by Gandolf »

Good idea submono and thanks Donald for implementing it.

However, it appears to have produced a bug, or shown up a bug that was already there.

With the setting I chose (-1) the open folder icon moves up one pixel and then leaves a one pixel line under the icon (bottom of the closed icon?). The one pixel movement is still there with 0, but no line appears under the icon.

admin
Site Admin
Posts: 66279
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Gandolf wrote:Good idea submono and thanks Donald for implementing it.

However, it appears to have produced a bug, or shown up a bug that was already there.

With the setting I chose (-1) the open folder icon moves up one pixel and then leaves a one pixel line under the icon (bottom of the closed icon?). The one pixel movement is still there with 0, but no line appears under the icon.
That's because at -1 the folder icons overlap at their borders, which are half-transparent resulting in an artifact that looks like a line.

EDIT: nope, that was the wrong explanation. Truth is that the bottom pixel row of the icon was not erased before painting a new icon over it, resulting in a darkkish line due to added up half-transparency. I could fix that (by always erasing at least 16 (resp. small icon height) pixels height), although it is not really a bug but a logical consequence: when icons are larger than row height you have to expect display glitches.

Bottom line: I do not officially support negative values for lTreeItemDistY! :wink:

admin
Site Admin
Posts: 66279
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

admin wrote:
Gandolf wrote:Good idea submono and thanks Donald for implementing it.

However, it appears to have produced a bug, or shown up a bug that was already there.

With the setting I chose (-1) the open folder icon moves up one pixel and then leaves a one pixel line under the icon (bottom of the closed icon?). The one pixel movement is still there with 0, but no line appears under the icon.
That's because at -1 the folder icons overlap at their borders, which are half-transparent resulting in an artifact that looks like a line.

EDIT: nope, that was the wrong explanation. Truth is that the bottom pixel row of the icon was not erased before painting a new icon over it, resulting in a darkkish line due to added up half-transparency. I could fix that (by always erasing at least 16 (resp. small icon height) pixels height), although it is not really a bug but a logical consequence: when icons are larger than row height you have to expect display glitches.

Bottom line: I do not officially support negative values for lTreeItemDistY! :wink:
Ha, I found an even better solution. Shrink the icons! So: now negative values for lTreeItemDistY are officially supported. You can make micoscopic trees now playing with lTreeItemDistY and font size. :)

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

Assuming user 'alpha' is still around, this resolves his wish from Dec 06 in http://www.xyplorer.com/xyfc/viewtopic.php?t=1232 which was similar/same as submono's...

Now for my wish adaptation, which I think I posted before somewhere (but can't find it at moment): I'd like to scrunch the vertical distance in the catalog! Is there a chance this same coding could be adapted to it?

Update: Found my prior comments in http://www.xyplorer.com/xyfc/viewtopic.php?t=1346
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 66279
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

j_c_hallgren wrote:Now for my wish adaptation, which I think I posted before somewhere (but can't find it at moment): I'd like to scrunch the vertical distance in the catalog! Is there a chance this same coding could be adapted to it?
Yes! In fact, I got warm to this whole rowheight softening... all will be good.

(Sorry, but it might postpone CKS for a few days... damn it, I just need some days without bugs and ideas, can't you all take a holiday or two? :wink: )

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

admin wrote:Yes! In fact, I got warm to this whole rowheight softening... all will be good.

(Sorry, but it might postpone CKS for a few days... damn it, I just need some days without bugs and ideas, can't you all take a holiday or two? :wink: )
:oops: At least for me, given how long I've waited for scrunched catalog, I'd be more than willing to defer that request to CKS as it has more market (i.e. income) potential! As long as it's on the list...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 66279
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

j_c_hallgren wrote:
admin wrote:Yes! In fact, I got warm to this whole rowheight softening... all will be good.

(Sorry, but it might postpone CKS for a few days... damn it, I just need some days without bugs and ideas, can't you all take a holiday or two? :wink: )
:oops: At least for me, given how long I've waited for scrunched catalog, I'd be more than willing to defer that request to CKS as it has more market (i.e. income) potential! As long as it's on the list...
Don't worry. I don't do favors here. I'm fully and exclusively responsible for every step XYplorer takes. And, I was half-kidding anyway: that rowheight thingy just takes about 2 hours.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

admin wrote:Download the latest BETA, Open Xyplorer and Close it again (to create the new TreeItemDistY key), open XYplorer.ini, find this key, edit it to e.g. TreeItemDistY=2, restart XYplorer.
I've used what I think is a slightly easier way to do this: After opening XY from latest Beta, I do a "Save Config" and then a "Restart without Saving", then use "Edit config" to get into and modify INI, do a save of it, and then use "Restart w/o Saving"....this allows me to stay within XY a bit more than the other way, where I have to go to Windows.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 66279
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

j_c_hallgren wrote:
admin wrote:Download the latest BETA, Open Xyplorer and Close it again (to create the new TreeItemDistY key), open XYplorer.ini, find this key, edit it to e.g. TreeItemDistY=2, restart XYplorer.
I've used what I think is a slightly easier way to do this: After opening XY from latest Beta, I do a "Save Config" and then a "Restart without Saving", then use "Edit config" to get into and modify INI, do a save of it, and then use "Restart w/o Saving"....this allows me to stay within XY a bit more than the other way, where I have to go to Windows.
Yes, I know. I just wanted to explain it in a newbie-compatible way that does not use any XY commands.

BTW, I got crazy and thought of INI key editing via Addressbar à la "[settings]TreeItemDistY=2"... well. Let's not go into this now.

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Post by surrender »

admin wrote:BTW, I got crazy and thought of INI key editing via Addressbar à la "[settings]TreeItemDistY=2"... well. Let's not go into this now.
I thought you needed some days without bugs and ideas to finish CKS? :wink: But then the above idea is not worth ignoring. Editing INI via AB would be a great feature.

Post Reply