Skip to content

Commit c94de97

Browse files
committed
Added labels to new equation selections
1 parent 4b796d8 commit c94de97

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

wxPythonFit.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ def __init__(self):
2727
# no need to use "self." as these are not referenced by other methods
2828
label1 = wx.StaticText(p, -1, "--- 2D Data Text Editor ---")
2929
label2 = wx.StaticText(p, -1, "--- 3D Data Text Editor ---")
30+
label3 = wx.StaticText(p, -1, "--- Standard 2D Equations ---")
31+
label4 = wx.StaticText(p, -1, "--- Standard 3D Equations ---")
3032

3133
# use "self" because of references in other methods
3234
self.text_2D = wx.TextCtrl(p, -1, dfc.exampleText_2D,
@@ -65,14 +67,16 @@ def __init__(self):
6567
self.btnFit3D = wx.Button(p, -1, "Fit 3D Text Data")
6668

6769
# setup the layout with grid sizer
68-
fgs = wx.FlexGridSizer(6, 2, 10, 20)
70+
fgs = wx.FlexGridSizer(7, 2, 10, 20)
6971
fgs.AddGrowableRow(1)
7072
fgs.AddGrowableCol(0)
7173
fgs.AddGrowableCol(1)
7274
fgs.Add(label1, 0, wx.ALIGN_CENTER_HORIZONTAL)
7375
fgs.Add(label2, 0, wx.ALIGN_CENTER_HORIZONTAL)
7476
fgs.Add(self.text_2D, 0, wx.EXPAND)
7577
fgs.Add(self.text_3D, 0, wx.EXPAND)
78+
fgs.Add(label3, 0, wx.ALIGN_CENTER_HORIZONTAL)
79+
fgs.Add(label4, 0, wx.ALIGN_CENTER_HORIZONTAL)
7680
fgs.Add(self.ch_Modules2D, 0, wx.EXPAND)
7781
fgs.Add(self.ch_Modules3D, 0, wx.EXPAND)
7882
fgs.Add(self.ch_Equations2D, 0, wx.EXPAND)

0 commit comments

Comments
 (0)