Quisk version 4.2.30

This commit is contained in:
James C. Ahlstrom
2024-03-20 12:28:39 -04:00
parent 26773d5d09
commit 36d717636c
8 changed files with 38 additions and 5 deletions
+2 -1
View File
@@ -3762,7 +3762,8 @@ class App(wx.App):
# Find the data width from a list of preferred sizes; it is the width of returned graph data.
# The graph_width is the width of data_width that is displayed.
if conf.window_width > 0:
wFrame, h = frame.GetClientSize().Get() # client window width
#wFrame, h = frame.GetClientSize().Get() # client window width
wFrame = conf.window_width - 15 # Thanks to Nick Abramenko, RA3PKJ
graph = GraphScreen(frame, self.width//2, self.width//2, None) # make a GraphScreen to calculate borders
self.graph_width = wFrame - (graph.width - graph.graph_width) # less graph borders equals actual graph_width
graph.Destroy()