[CLOSED] Style FieldLabel in RadioGroup with GridPanel

  1. #1

    [CLOSED] Style FieldLabel in RadioGroup with GridPanel

    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:

    Click image for larger version. 

Name:	RadioGroup.png 
Views:	155 
Size:	6.4 KB 
ID:	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>
    Last edited by Daniil; Aug 21, 2012 at 9:30 AM. Reason: [CLOSED]
  2. #2
    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>
  3. #3
    Quote Originally Posted by Daniil View Post
    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?
  4. #4
    The best my thoughts on this topic are here:
    http://forums.ext.net/showthread.php...ll=1#post84598
  5. #5
    Quote Originally Posted by Daniil View Post
    The best my thoughts on this topic are here:
    http://forums.ext.net/showthread.php...ll=1#post84598
    Thank you Daniil

Similar Threads

  1. How to set FieldLabel in bind Gridpanel?
    By rainer in forum 1.x Help
    Replies: 0
    Last Post: Apr 23, 2012, 2:56 AM
  2. RadioGroup as Editor in GridPanel - Possible?
    By Tbaseflug in forum 1.x Help
    Replies: 2
    Last Post: Jan 12, 2012, 12:01 PM
  3. [CLOSED] How to style FieldLabel (set text to bold)
    By jthompson in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Sep 06, 2011, 10:04 PM
  4. [CLOSED] RadioGroup in Gridpanel
    By softmachine2011 in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jul 18, 2011, 12:11 PM
  5. [CLOSED] FieldLabel for RadioGroup
    By alexp in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 16, 2009, 11:38 AM

Posting Permissions