voxel / voxel-plugins-ui

user interface for voxel-plugins
6 stars 4 forks source link

Truncated plugin names #3

Open deathcap opened 9 years ago

deathcap commented 9 years ago

Some plugins have overly-long names, which voxel-plugins-ui's datgui truncates:

screen shot 2015-02-07 at 4 52 57 pm

worse, it truncates per word, so they only show up as 'voxel-' not even the first few (hopefully distinctive) characters of the name are shown. Some ideas to fix this: increase the datgui window width, drop the voxel- suffix from display (but, plugins do not necessarily have to have this prefix), find out how to disable word-based truncation and just cut off the excess characters, and/or add an ellipsis in the middle as part of the display process (voxel-foobar -> v…foobar, etc., depending on the display width)

CSS3 text-overflow? http://sharonminsuk.com/blog/2010/07/22/css3-text-truncation-and-ellipses-even-in-firefox-and-without-the-styling-constraints/

z3t0 commented 8 years ago

what about mouse-over text? that way we can have it expand the file name if the mouse hovers over it, similar to what windows explorer does

deathcap commented 8 years ago

That might work (tooltips to show full name), not sure how to dig into the datgui internals to do this though. Also the disadvantage of tooltips is you have to hover over and wait, which impedes quick glancing at the plugin list (lowers usability / user-friendliness), but it'd be better than the status quo.