Feature Fanchart:

1. radial text in later generation
 2. correct positioning for all fonts
 3  adapting size of font to box height


svn: r20321
This commit is contained in:
Benny Malengier
2012-09-03 22:09:47 +00:00
parent beed421150
commit 9321422b48
3 changed files with 165 additions and 57 deletions

View File

@@ -63,7 +63,8 @@ class FanChartGramplet(FanChartGrampsGUI, Gramplet):
def __init__(self, gui, nav_group=0):
Gramplet.__init__(self, gui, nav_group)
FanChartGrampsGUI.__init__(self, 6, 0, True, self.on_childmenu_changed)
FanChartGrampsGUI.__init__(self, 6, 0, True, True,
self.on_childmenu_changed)
self.set_fan(FanChartWidget(self.dbstate, self.on_popup))
# Replace the standard textview with the fan chart widget:
self.gui.get_container_widget().remove(self.gui.textview)