You can define constants within your <ui:style>.
<ui:style>
@def dialogWidth 250px;
@def dialogHeight 100px;
.tabPanel{
width: dialogWidth;
height: dialogHeight;
}
</ui:style>
<gwt:TabLayoutPanel addStyleNames="{style.tabPanel}"
barHeight="28" ui:field="tabPanel">
Regards,
Nirmal
On Dec 1, 8:34 pm, Paul Stockley <[email protected]> wrote:
> Rather than say the following
>
> <gwt:TabLayoutPanel addStyleNames="{style.tabPanel}" width="480px"
> height="250px" barHeight="28" ui:field="tabPanel">
>
> I want to define a constant for the width e.g.
>
> <gwt:TabLayoutPanel addStyleNames="{style.tabPanel}"
> width="dialogWidth" height="dialogWidth" barHeight="28"
> ui:field="tabPanel">
>
> Is there a way to do this?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.