From 73ce77f11d1cf25f94aabff432fcc9c1cc04c915 Mon Sep 17 00:00:00 2001 From: pierre Date: Sat, 7 Sep 2024 17:36:27 +0200 Subject: [PATCH] font size --- layout.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layout.py b/layout.py index f85b878..0a6bd8c 100644 --- a/layout.py +++ b/layout.py @@ -854,11 +854,11 @@ class GraphPanelDendro(wx.Panel): self.dirout = os.path.dirname(self.dictpathout['ira']) self.list_graph = list_graph self.parent = self.GetParent()#parent - self.SetFont(wx.Font(10, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL, 0, "Arial")) #modifié - self.labels = [] - self.listimg = [] self.tabchd = self.parent.GetParent() self.ira = self.tabchd.GetParent() + self.SetFont(wx.Font(self.ira.fontsize, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL, 0, "Arial")) #modifié + self.labels = [] + self.listimg = [] self.panel_1 = wx.ScrolledWindow(self, -1, style=wx.TAB_TRAVERSAL) self.panel_1.SetBackgroundColour('white') self.deb = wx.StaticText(self.panel_1, -1, txt) -- 2.7.4