Results 1 to 2 of 2

Thread: Custom Control Panel Based with Labelable

  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    3
    Vote Rating
    0
      0  

    Default Custom Control Panel Based with Labelable

    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!!!

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,407
    Answers
    716
    Vote Rating
    503
      0  

    Default

    For changing the color of the border, have a look at:
    .x-panel-body-default::border-color

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

    Regards,
    Scott.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •