diff --git a/src/wxUI/dialogs/twitterDialogs/tweetDialogs.py b/src/wxUI/dialogs/twitterDialogs/tweetDialogs.py index 8db397ec..b917a25b 100644 --- a/src/wxUI/dialogs/twitterDialogs/tweetDialogs.py +++ b/src/wxUI/dialogs/twitterDialogs/tweetDialogs.py @@ -18,13 +18,12 @@ class tweet(wx.Dialog): def create_controls(self, message: str, caption: str, max_length: int, thread_mode: bool) -> None: panel = wx.Panel(self) mainBox = wx.BoxSizer(wx.VERTICAL) - text_sizer = wx.BoxSizer(wx.VERTICAL) + text_sizer = wx.BoxSizer(wx.HORIZONTAL) mainBox.Add(text_sizer, 1, wx.EXPAND, 0) label_1 = wx.StaticText(panel, wx.ID_ANY, caption) text_sizer.Add(label_1, 0, 0, 0) - self.text = wx.TextCtrl(panel, wx.ID_ANY, "", style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER) + self.text = wx.TextCtrl(panel, wx.ID_ANY, "", size=(444, -1), style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER) self.Bind(wx.EVT_CHAR_HOOK, self.handle_keys, self.text) - self.text.SetMinSize((1000, 158)) text_sizer.Add(self.text, 1, wx.EXPAND, 0) list_sizer = wx.BoxSizer(wx.HORIZONTAL) mainBox.Add(list_sizer, 1, wx.EXPAND, 0) @@ -155,13 +154,12 @@ class reply(tweet): def create_controls(self, message: str, caption: str, max_length: int, thread_mode: bool) -> None: panel = wx.Panel(self) mainBox = wx.BoxSizer(wx.VERTICAL) - text_sizer = wx.BoxSizer(wx.VERTICAL) + text_sizer = wx.BoxSizer(wx.HORIZONTAL) mainBox.Add(text_sizer, 1, wx.EXPAND, 0) label_1 = wx.StaticText(panel, wx.ID_ANY, caption) text_sizer.Add(label_1, 0, 0, 0) - self.text = wx.TextCtrl(panel, wx.ID_ANY, "", style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER) + self.text = wx.TextCtrl(panel, wx.ID_ANY, "", size=(500, 200), style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER) self.Bind(wx.EVT_CHAR_HOOK, self.handle_keys, self.text) - self.text.SetMinSize((1000, 158)) text_sizer.Add(self.text, 1, wx.EXPAND, 0) list_sizer = wx.BoxSizer(wx.HORIZONTAL) mainBox.Add(list_sizer, 1, wx.EXPAND, 0) @@ -232,20 +230,19 @@ class dm(tweet): def create_controls(self, message: str, caption: str, max_length: int, thread_mode: bool) -> None: panel = wx.Panel(self) mainBox = wx.BoxSizer(wx.VERTICAL) - label_recipient = wx.StaticText(panel, -1, _(u"&Recipient")) + label_recipient = wx.StaticText(panel, -1, _("&Recipient")) self.cb = wx.ComboBox(panel, -1, choices=self.users, value=self.users[0], size=wx.DefaultSize) self.autocomplete_users = wx.Button(panel, -1, _(u"Auto&complete users")) recipient_sizer = wx.BoxSizer(wx.HORIZONTAL) recipient_sizer.Add(label_recipient, 0, 0, 0) recipient_sizer.Add(self.cb, 1, wx.EXPAND, 0) mainBox.Add(recipient_sizer, 0, wx.EXPAND, 0) - text_sizer = wx.BoxSizer(wx.VERTICAL) + text_sizer = wx.BoxSizer(wx.HORIZONTAL) mainBox.Add(text_sizer, 1, wx.EXPAND, 0) label_1 = wx.StaticText(panel, wx.ID_ANY, caption) text_sizer.Add(label_1, 0, 0, 0) - self.text = wx.TextCtrl(panel, wx.ID_ANY, "", style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER) + self.text = wx.TextCtrl(panel, wx.ID_ANY, "", size=(500, 200), style=wx.TE_MULTILINE|wx.TE_PROCESS_ENTER) self.Bind(wx.EVT_CHAR_HOOK, self.handle_keys, self.text) - self.text.SetMinSize((1000, 158)) self.text.SetFocus() text_sizer.Add(self.text, 1, wx.EXPAND, 0) list_sizer = wx.BoxSizer(wx.HORIZONTAL)