Results 1 to 4 of 4

Thread: toggle for left to right?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    439
    Vote Rating
    7
      0  

    Default toggle for left to right?

    Hi;
    i am trying to figure out how to get forms with toggle working with right to left languages where everything is alligned from right to left I cant seem to succeed using simple css 'direction'
    is there a proper known way to achieve this?
    thanks in advance

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    I'm not that familiar with RTL... what exactly is a field layout that you want?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    439
    Vote Rating
    7
      0  

    Default

    pretty straight forward. in the pic below everything is aligned to the left: for each row, label is on the left of the button text and toggle are aligned to the left within the respective columns
    Untitled.jpg
    I just want everything to be the opposite...
    unfortunatly, there are several issues when trying to set the css direction property on the fieldset to rtl. most annoying is that the toggle button itself does not move to the correct place. see pic
    Untitled.jpg
    is there a way to bypass this?
    thanks

  4. #4
    Sencha User
    Join Date
    Jul 2012
    Posts
    16
    Vote Rating
    1
      0  

    Default

    Hello gkatz,

    My self also want to achieve same thing.

    I converted everything to RTL mode, but facing issue in toggle, can you please suggest what changes exactly we need to make toggle work in RTL mode.

    Thanks in advance.


    Thanks,

Tags for this Thread

Posting Permissions

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