K. Frank
2014-12-28 15:37:05 UTC
Hello List!
I am new to Wt and working with Wt 3.3.3.
I am working with the example DialogExample.C, and looking
at line 28:
textdiv->setStyleClass("text");
As I understand it, this line uses a style sheet to set some
formatting rules for the WContainerWidget textdiv, and because
DialogExample doesn't load any style sheets, I assume it's using
what the Wt documentation refers to as the "internal stylesheet."
But browsing the source, I can't find any definitions for the rules
for the internal stylesheet. I see a number of css files here and
there in the source tree, but none of them contain anything that
looks like it would map to a set of rules for "text" or "buttons".
Another possibility is that there is no Wt-provided style sheet,
and that the setStyleClass() calls ultimately map to some
default browser styles. If that's the case where might I find
(typical) rules for the browser-provided style sheet?
Thanks.
K. Frank
I am new to Wt and working with Wt 3.3.3.
I am working with the example DialogExample.C, and looking
at line 28:
textdiv->setStyleClass("text");
As I understand it, this line uses a style sheet to set some
formatting rules for the WContainerWidget textdiv, and because
DialogExample doesn't load any style sheets, I assume it's using
what the Wt documentation refers to as the "internal stylesheet."
But browsing the source, I can't find any definitions for the rules
for the internal stylesheet. I see a number of css files here and
there in the source tree, but none of them contain anything that
looks like it would map to a set of rules for "text" or "buttons".
Another possibility is that there is no Wt-provided style sheet,
and that the setStyleClass() calls ultimately map to some
default browser styles. If that's the case where might I find
(typical) rules for the browser-provided style sheet?
Thanks.
K. Frank