Completed
Last Updated: 10 Aug 2018 07:44 by Dimitar
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 31 Jul 2018 12:30
Category: UI for WinForms
Type: Bug Report
2
FIX. RadChat - when you make the InputTextBox multiline its height gets huge and the send button disappears from the box
Workaround:

            this.radChat1.ChatElement.InputTextBox.TextBoxItem.TextBoxControl.Multiline = true;
            this.radChat1.ChatElement.InputTextBox.ButtonsStack.Children.Remove(this.radChat1.ChatElement.ShowToolbarButtonElement);
            this.radChat1.ChatElement.InputTextBox.ButtonsStack.Children.Remove(this.radChat1.ChatElement.SendButtonElement);
            StackLayoutElement stack = new StackLayoutElement();
            stack.MinSize = new Size(0, 60);
            this.radChat1.ChatElement.InputTextBox.Parent.Children.Add(stack);
            this.radChat1.ChatElement.InputTextBox.Parent.Children.Remove(this.radChat1.ChatElement.InputTextBox);
            stack.StretchHorizontally = true;
            stack.Orientation = Orientation.Horizontal;
            stack.Children.Add(this.radChat1.ChatElement.InputTextBox);
            stack.Children.Add(this.radChat1.ChatElement.ShowToolbarButtonElement);
            stack.Children.Add(this.radChat1.ChatElement.SendButtonElement);
            this.radChat1.ChatElement.ShowToolbarButtonElement.StretchHorizontally = false;
            this.radChat1.ChatElement.SendButtonElement.StretchHorizontally = false;
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments