<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">Il 20/09/2014 17:51, Bart ha scritto:<br>
</div>
<blockquote
cite="mid:CAMye31yG990vzrAk0DNT7H4+YxgtNBUfp7RHWtP7YFBvfEUm3A@mail.gmail.com"
type="cite">
<pre wrap="">On 9/20/14, Giuliano Colla <a class="moz-txt-link-rfc2396E" href="mailto:giuliano.colla@fastwebnet.it"><giuliano.colla@fastwebnet.it></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">... but on Linux it doesn't
work.
</pre>
</blockquote>
<pre wrap="">
I moved the calling of DrawGraphs to the formÅ› OnActivate, and now the
Icons are there.
Please test with r46266.
</pre>
</blockquote>
<br>
Now on Linux Gtk2 there's a significant improvement.<br>
<br>
However there's still an issue:<br>
when there are many files, and you must scroll the window, the hint
shown is not related to the proper icon, but to the one which would
have been in that position before scrolling.<br>
I saw some discrepancies, and I suspected an error in the pie
drawing. Then, in order to verify, I added one more line to the
hint, with AStat.PoName, and I realized that it was simply showing
the wrong Stats.<br>
Does it work in Windows? /Lazarus/languages/lazaruside.xx.po should
have enough files to generate a scroll.<br>
Maybe you'll find a way adjust the Y coordinate for
Listview.GetItemAt, but I'm afraid that we're again in trouble,
because the procedure TControl.GetClientScrollOffset is implemented
just with <i>Result:=Point(0,0);</i> !<br>
<br>
With Qt no change: Icons are too small, all items in one row, and no
hint shown. But, Qt is somehow optional (even if IMHO Qt widgetset
is better and more complete than Gtk2) and we may live with it, if
you manage to make it work with Gtk2.<br>
<br>
Giuliano<br>
<br>
<br>
</body>
</html>