Scrap pane details & long filenames

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

Post Reply
Brig
Silver Member
Silver Member
Posts: 223
Joined: 2002 Aug 05, 16:01
Location: Michigan

Scrap pane details & long filenames

Post by Brig »

Hi Folks:

I flattened out several folders and noticed that the filenames in the details box at the bottom of the pane ran into the second column of information--see the screenshot. The names are long but either they should be truncated or there should be a way to widen the columns of details. Is this possible?

Thanks,
Brig

Image
User avatar
nikos
Site Admin
Site Admin
Posts: 15794
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: Scrap pane details & long filenames

Post by nikos »

everything's possible... in this case you'd have to tweak the HTML file that defines the detailed view mode
however making things too wide would unnecessarily affect the 99% of normal size files
Robert2
Gold Member
Gold Member
Posts: 673
Joined: 2004 Jun 17, 15:39

Re: Scrap pane details & long filenames

Post by Robert2 »

This glitch is also happening in “List” View mode.
The workaround is child’s play:
Download http://zabkat.com/extras/x2details.txt.
Open it in a pure text editor.
Change the “.pane” class code from

Code: Select all

.pane {
	float: left;
	margin-right: 10px;
	margin-top: 5px;
	max-width: 250px;
}
to

Code: Select all

.pane {
	float: left;
	margin-right: 10px;
	margin-top: 5px;
	max-width: 250px;
	word-break: break-all;
}
Save the file to “X2DETAILS.HTM” and place it in the xplorer² home folder.
When you relaunch xplorer², you should have all longish names word-wrapped (see screen capture below).
HTH.
Cheers,
Robert
User avatar
nikos
Site Admin
Site Admin
Posts: 15794
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: Scrap pane details & long filenames

Post by nikos »

the problem with brig's filename is that it doesn't have spaces to break it, otherwise it works fine
Robert2
Gold Member
Gold Member
Posts: 673
Joined: 2004 Jun 17, 15:39

Re: Scrap pane details & long filenames

Post by Robert2 »

File names with underscore characters are also broken (see screen capture).
User avatar
nikos
Site Admin
Site Admin
Posts: 15794
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: Scrap pane details & long filenames

Post by nikos »

it's a good idea then! I will change the default HTM resource to break on underscores
Robert2
Gold Member
Gold Member
Posts: 673
Joined: 2004 Jun 17, 15:39

Re: Scrap pane details & long filenames

Post by Robert2 »

Nikos,
You might want to take a look at the following pages:
Handling Long Words and URLs (Forcing Breaks, Hyphenation, Ellipsis, etc)
word-break
Cheers,
Robert
Brig
Silver Member
Silver Member
Posts: 223
Joined: 2002 Aug 05, 16:01
Location: Michigan

Re: Scrap pane details & long filenames

Post by Brig »

Hey, many thanks guys! I really appreciate it. I do like child's-play fixes. :beer:
Post Reply