1 Reply Latest reply on Jun 3, 2010 3:22 AM by Harbs.

    Component icons not showing

    Harbs. Level 6

      I butchered the NumericStepper component to better serve my needs.


      I couldn't simply extend it because I needed to change a number of the private functions.


      The only parts that I touched were parts that dealt with validation and contents of the TextInput.


      For the most part, my modified component seems to work well, but for some reason, the arrows in my modified CustomStepper class do not appear in the UI. As far as I can tell, they are created, but just down appear.


      Considering that I didn't touch that part of the component, I'm a bit at a loss as to why the arrow icons are not appearing...


      Any suggestions?



        • 1. Re: Component icons not showing
          Harbs. Level 6

          I think the problem had to do with styles and namespaces, but I'm not positive...


          Instead of breaking my head getting to the bottom of this, I just extended the NumericStepper class to inherit all the styles and overrode all protected and public functions and redid all the private ones.


          It's a bit of a Frankenstein, but it seems to work well...


          If anyone has suggestions on how to handle styles of re-defined classes without extending the standard component, I'm all ears!