StyleClass for Rectangles?

The StyleClass property is exposed for Rectangle objects, but doesn’t seem to be implemented. The Servoy Developer Guide’s CSS documentation doesn’t mention Rectangles at all that I can see. I’ve experimented with trying to get it working with various CSS stylesheet elements, to no effect. Is there an as-yet-undocumented way to get this to work? If not, might it be fixed anytime soon?

This would be extremely useful, as I frequently use box objects to “frame” different groups of elements in a window, and having to change each one individually as designs evolve is, as you can imagine, quite tedious.

Regards,

Bill

Bill,

I don’t think any of the “draw” objects can be styled with CSS. You might want to put that into the “Feature Request” section.

BUT - there is about 1,000 things that I’d like to see before CSS of draw objectcs… :D

Bob Cusick

Hi Bob…

As I sit here working on visual design, having all visual objects CSS-enabled seems pretty important.

But of course, when I’m working on other things, features relating to those things go to the top of the wishlist.

That’s the way it always works, right? :twisted:

So true, so true!

Bob

Rectangles are almost depricated and replaced with a label (without text) with a special matte border. (when using a label you can use styles)

Thanks, Jan…

I guess a textless label with a border is pretty much a defination of a box.