rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: rejetto on July 06, 2012, 08:52:48 AM

Title: [Done] HFS 3: task: we need to make the expansion button as fixed size
Post by: rejetto on July 06, 2012, 08:52:48 AM
Please, first refer to the tasks topic (http://www.rejetto.com/forum/index.php/topic,10578.0.html).



If you look at the backend, you'll see some triangles aside folders.
Those are the expansion buttons. I borrowed the idea from Windows7.
The graphic is made through 2 unicode characters. Technically it is text, indeed.
The pro of this is that i don't need to download any extra file for this.
The con is that the width of these 2 characters are not the same (at least on my system, Win7+Chrome).
I need them to have the same size, but I didn't find a way via css.
I tried both the "width" property, and "font-family:monospace".
Who can solve this mistery?
Title: Re: HFS 3: task: we need to make the expansion button as fixed size
Post by: rejetto on December 23, 2012, 10:25:29 PM
solved.
i just set "display" to "inline-block",
then "width" started to work.