Page 1 of 2
Configurable vertical distance & custom toolbar icons
Posted: 25 Mar 2007 10:45
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

Re: Configurable vertical distance & custom toolbar icon
Posted: 25 Mar 2007 21:47
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.
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

Win95??

Come on, I think they are still pretty XP. And you are already Vista-spoiled!

Posted: 26 Mar 2007 04:45
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

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
submono
Posted: 26 Mar 2007 10:32
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

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.
Posted: 26 Mar 2007 11:04
by submono
Okay, yes! That's what I was hoping for. Balsam fuer meine geschundenen Augen (a remedy for my sore eyes)

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...
Thanks, submono
Posted: 26 Mar 2007 21:51
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.
Posted: 26 Mar 2007 23:09
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!

Posted: 27 Mar 2007 08:45
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!

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.

Posted: 27 Mar 2007 09:50
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
Posted: 27 Mar 2007 18:37
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?
)
Posted: 27 Mar 2007 19:40
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?
)

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...
Posted: 27 Mar 2007 19:47
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?
)

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.
Posted: 28 Mar 2007 01:16
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.
Posted: 28 Mar 2007 07:43
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.
Posted: 28 Mar 2007 08:57
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?

But then the above idea is not worth ignoring. Editing INI via AB would be a great feature.