ToastFreeware
/
gregoa
/
zavai.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e68d96
)
Don't squeeze tiny labels too much
author
Enrico Zini
<enrico@enricozini.org>
Thu, 10 Dec 2009 10:49:47 +0000
(10:49 +0000)
committer
Enrico Zini
<enrico@enricozini.org>
Thu, 10 Dec 2009 10:49:47 +0000
(10:49 +0000)
src/fisheye.vala
patch
|
blob
|
history
diff --git
a/src/fisheye.vala
b/src/fisheye.vala
index 5ce56e2e437e7ae8a2c8727b3cd965929f9de632..7053aed4569253bf1ca5e030be1aac226895d22e 100644
(file)
--- a/
src/fisheye.vala
+++ b/
src/fisheye.vala
@@
-336,7
+336,7
@@
public class FisheyeList : Gtk.DrawingArea
renderers[0].get_size(this, null, null, null, null, out cell_area.height);
if (label_cache.length * cell_area.height >= allocation.height)
{
- for (int y = 0; y < allocation.height;
++y
)
+ for (int y = 0; y < allocation.height;
y += cell_area.height
)
{
int idx = y * label_cache.length / allocation.height;
cell_area.y = y;