23 Sep 2013 8:39 AM #1
Unanswered: Which control can display text in colors with sencha touch?
I need to display something like this within a Ext.TextArea using sencha touch:
Israel Says: Hello, this is a test chatSo far we know there is no HtmlEditor control in Sencha Touch, and the HtmlEditor from extJs does not work properly in iOS, so which control will allow me to display text in colors using sencha touch.
Marco Says: Received
Israel Says: Great
Does anyone can put me in the right direction?
Thanks in advance, best regards.
23 Sep 2013 1:03 PM #2
You can style html text with color and display it in a panel.
24 Sep 2013 10:28 AM #3
Looks like you are planning to write a messenger.
But the textarea is a standard HTML object which cannot be styled in differen text colors.
But it looks like you want the old send messages to be colored.
You might want to concider a list (striped: true) and set the colors for the different stripes (odd and even).
Then you simply push the text in a store, bind the store to the list and put a textarea (docked:'bottom') below.
Might work for you until you are more into templates.