Chat widget now is multiline. Add new lines with shift+enter
This commit is contained in:
@@ -168,7 +168,7 @@ class chatTab(wx.Panel):
|
||||
|
||||
def create_chat(self):
|
||||
lbl2 = wx.StaticText(self, -1, _(u"Write a message"))
|
||||
self.text = wx.TextCtrl(self, -1)
|
||||
self.text = wx.TextCtrl(self, -1, size=(400, -1), style=wx.TE_MULTILINE)
|
||||
box = wx.BoxSizer(wx.HORIZONTAL)
|
||||
box.Add(lbl2, 0, wx.ALL, 20)
|
||||
box.Add(self.text, 0, wx.ALL, 5)
|
||||
|
Reference in New Issue
Block a user