[CLOSED] How to vertically align a CheckBox in a Toolbar?

  1. #1

    [CLOSED] How to vertically align a CheckBox in a Toolbar?

    Hi,

    A basic question here. I'm trying to vertically align a checkbox in the toolbar such that it appears visually aligned with buttons with icons. Is there any property to easily achieve it? I've attempted Margins and CSS like this with no success:

    <ext:Checkbox runat="server" ID="CheckBox1" BoxLabel="Test" Checked="true" Cls="my-checkbox"></ext:Checkbox>
    
    <style> 
    .my-checkbox .x-form-cb-label       
    { 
        font-family:Arial;
        font-size: 8pt;
        padding-bottom:10px;
    }
    </style>
    Last edited by Daniil; Jan 29, 2013 at 2:42 PM. Reason: [CLOSED]
  2. #2
    Hi Vadym,

    Maybe this.
    .my-checkbox {
        padding-top: 10px;
    }
  3. #3
    Thanks Daniil,

    Here's what eventually worked for me:

    <ext:Checkbox runat="server" ID="CheckBox1" BoxLabel="Test" Checked="true" Cls="toolbar-checkbox-label" CtCls="toolbar-checkbox"></ext:Checkbox>
     
    <style> 
    .toolbar-checkbox-label .x-form-cb-label        
    { 
        font-family:Arial;
        font-size: 8pt;
    }
    
    .toolbar-checkbox
    { 
        padding-bottom:3px;
    }
    </style>
    You can mark this thread as closed.

Similar Threads

  1. align checkbox
    By bilgecooliteforum in forum 1.x Help
    Replies: 6
    Last Post: Nov 25, 2010, 9:04 AM
  2. Align Toolbar item right hand side
    By vivekrane1986 in forum 1.x Help
    Replies: 2
    Last Post: Jun 04, 2010, 4:46 AM
  3. [CLOSED] Toolbar Align Buttons
    By CMA in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 18, 2009, 5:25 AM
  4. ToolbarextItems vertically aligned
    By alainfo in forum 1.x Help
    Replies: 2
    Last Post: Jul 28, 2009, 9:58 AM
  5. Replies: 1
    Last Post: May 25, 2009, 6:00 PM

Posting Permissions