editors/ConfTreeNodeEditor.py
branchpython3
changeset 3795 223a91584172
parent 3788 d5014da90054
--- a/editors/ConfTreeNodeEditor.py	Wed Apr 12 23:02:41 2023 +0200
+++ b/editors/ConfTreeNodeEditor.py	Thu Apr 13 22:31:33 2023 +0200
@@ -181,7 +181,7 @@
                 self.ConfNodeName = wx.TextCtrl(self.Editor,
                                                 size=wx.Size(150, 25))
                 self.ConfNodeName.SetFont(
-                    wx.Font(faces["size"] * 0.75, wx.DEFAULT, wx.NORMAL,
+                    wx.Font(round(faces["size"] * 0.75), wx.DEFAULT, wx.NORMAL,
                             wx.BOLD, faceName=faces["helv"]))
                 self.ConfNodeName.Bind(
                     wx.EVT_TEXT,