Results 1 to 2 of 2

Thread: How to center radio, checkbox, ...?

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    27

    Default How to center radio, checkbox, ...?

    Hi,
    If I define a check box with something like
    { xtype: 'checkboxfield',id:'NG_paused , width:'200px'},
    the system shows the check sign aligned to the right side. I did not find a way to center the check sign (centered did not work).
    Is there any way to center the check sign?

    Best regards
    hebr3

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,448

    Default

    Inspect the DOM, find the element that has the actual checkbox (there is a webkit transform CSS rule on the element so you can find it).
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •