quickui icon indicating copy to clipboard operation
quickui copied to clipboard

Tutorial needs updating in 'CSS class names' section

Open bdiegel opened this issue 12 years ago • 1 comments

It appears that this statement about inheritance structure is not true anymore.

From: http://quickui.org/tutorial/css-classes.html

"The demo code creates two buttons: one of the plain BasicButton class, and another of class LabeledColorSwatch, which inherits from BasicButton"

bdiegel avatar May 18 '13 21:05 bdiegel

Good catch!

I think LabeledColorSwatch used to derive from BasicButton so that it could function as a clickable item in the ColorSwatchComboBox demo. If memory serves, any control in a ListBox (including one hosted by ComboBox) had to be a button. That restriction was lifted a while ago, but I hadn't caught the use of LabeledColorSwatch in the tutorial. I'll try to update that sometime in the coming week.

Many thanks for taking the time to report this error. It's been there for a while — I wish someone had reported it earlier!

JanMiksovsky avatar May 19 '13 04:05 JanMiksovsky