PDA

View Full Version : [CLOSED] Style FieldLabel in RadioGroup with GridPanel



osef
Aug 15, 2012, 11:33 PM
Hi, How Can I to keep the same style or the default style to RadioGroup and Radios, because the font with RadioGroup with GridPanel is smallest that RadioGroup without GridPanel, I attachement a example and my code:

4640



<ext:GridPanel
runat="server">
<TopBar>
<ext:Toolbar ID="Toolbar1" runat="server">
<Items>
<ext:RadioGroup
ID="RadioGroup2"
runat="server"
FieldLabel="Expresado en"
Width="300"
LabelWidth="80"
ColumnsWidths="80,80">
<Items>
<ext:Radio ID="Radio3" runat="server" BoxLabel="Cantidad" Checked="true" />
<ext:Radio ID="Radio4" runat="server" BoxLabel="Moneda"/>
</Items>
</ext:RadioGroup>
</Items>
</ext:Toolbar>
</TopBar>
</ext:GridPanel>

<ext:RadioGroup
ID="RadioGroup1"
runat="server"
FieldLabel="Expresado en"
Width="300"
LabelWidth="80"
ColumnsWidths="80,80">
<Items>
<ext:Radio ID="Radio1" runat="server" BoxLabel="Cantidad" Checked="true" />
<ext:Radio ID="Radio2" runat="server" BoxLabel="Moneda"/>
</Items>
</ext:RadioGroup>

Daniil
Aug 16, 2012, 6:52 AM
Hi,

Please set up

Cls="my-toolbar-labels"
for the Toolbar.

The CSS rule is:

<style type="text/css">
.my-toolbar-labels .x-form-item-label {
font-size: 12px;
}
</style>

osef
Aug 16, 2012, 8:23 PM
Hi,

Please set up

Cls="my-toolbar-labels"
for the Toolbar.

The CSS rule is:

<style type="text/css">
.my-toolbar-labels .x-form-item-label {
font-size: 12px;
}
</style>


Thank you Daniil, How Can I to know which is the label or css rules to everything or object?, in your example ".x-form-item-label" for Toolbar. Or Where Can I find a list to each object and its respective css rule?

Daniil
Aug 17, 2012, 4:34 AM
The best my thoughts on this topic are here:
http://forums.ext.net/showthread.php?19628&p=84598&viewfull=1#post84598

osef
Aug 20, 2012, 4:49 PM
The best my thoughts on this topic are here:
http://forums.ext.net/showthread.php?19628&p=84598&viewfull=1#post84598

Thank you Daniil