File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 1+ **Added: **
2+
3+ * <news item>
4+
5+ **Changed: **
6+
7+ * <news item>
8+
9+ **Deprecated: **
10+
11+ * <news item>
12+
13+ **Removed: **
14+
15+ * <news item>
16+
17+ **Fixed: **
18+
19+ * Change background color to match system settings in `Phase Configuration `.
20+
21+ **Security: **
22+
23+ * <news item>
Original file line number Diff line number Diff line change @@ -321,6 +321,7 @@ def restrictConstrainedParameters(self):
321321
322322 self .setToolTips (tooltips .phasepanel )
323323 self .textCtrlA .DefaultStyle .BackgroundColour
324+ txtbg = self .textCtrlScaleFactor .DefaultStyle .BackgroundColour
324325
325326 # First the TextCtrls
326327 for key , var in self .lConstraintsMap .items ():
@@ -332,8 +333,7 @@ def restrictConstrainedParameters(self):
332333 tt .SetTip (self .constraints [var ].formula )
333334 else :
334335 textCtrl .SetEditable (True )
335- # textCtrl.SetBackgroundColour(txtbg)
336- textCtrl .SetBackgroundColour (wx .WHITE )
336+ textCtrl .SetBackgroundColour (txtbg )
337337
338338 # Now the grid
339339 rows = self .gridAtoms .GetNumberRows ()
You can’t perform that action at this time.
0 commit comments