View Full Version : Custom Control Panel Based with Labelable

5 Apr 2012, 8:04 PM
Hi there, I have developed a nice custom control based on Panel. Its work like charm but I realize it would be nicer to be aligned with extjs validation ui-cues, these are 1)red border and 2) red icon with floating text message.

The thing is that I've tried to mix-in my class with the Labelable mixin but I couldn't make it work. Mainly because the "errorEl" isnt' createad (I took that from Labelable.js file from the framework).

What is the best way to get the red border and red icon usable from my custom component?

thanks in advance.
as always ExtJs IS GREAT!!!

6 Apr 2012, 7:16 AM
For changing the color of the border, have a look at:

For the icon/floating message, have a look at Tooltips