Skip to content

Commit

Permalink
added multiline text control for matrix input (for windows OS)
Browse files Browse the repository at this point in the history
  • Loading branch information
BM32ESRF committed Apr 12, 2024
1 parent 9622ca9 commit 949f2b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LaueTools/GUI/mainGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
__version__ = pkg_resources.get_distribution('LaueTools').version



import time
import sys
import copy
Expand Down Expand Up @@ -1149,7 +1148,8 @@ def EnterMatrix(self, _):
"""
helptstr = "Enter UB Matrix elements : \n [[a11, a12, a13],[a21, a22, a23],[a31, a32, a33]]"
helptstr += " Or list of Matrices"
dlg = wx.TextEntryDialog(self, helptstr, "Orientation Matrix elements Entry for Matching Check")
dlg = wx.TextEntryDialog(self, helptstr, "Orientation Matrix elements Entry for Matching Check",
style=wx.TE_MULTILINE|wx.OK|wx.CANCEL)

_param = "[[1.,0,0],[0,1,0],[0,0,1]]"
dlg.SetValue(_param)
Expand Down

0 comments on commit 949f2b1

Please sign in to comment.