NativeScript how change layout direction in scrollViewHorizontalScrollView doesn't scroll to left in RTL modeNativeScript ScrollView scrollToHorizontalOffset not workingHow to find/watch the dimensions of a view in a NativeScript layout?Disable ScrollView bounce NativeScriptNativescript tab layout approachNativescript GridLayout wrapped by ScrollViewSticky Header and Footer for ScrollView in NativeScript on a Modal Pagechange direction of nativescript sliderHow to position element at the bottom of Absolute Layout in NativeScript?Nativescript LayoutNativeScript ScrollView bug on Android with runtime version 5.0.0

How to handle (one's own) self-harm scars (on the arm), in a work environment?

Bb13b9 confusion

Traversing Oceania: A Cryptic Journey

Someone whose aspirations exceed abilities or means

How do free-speech protections in the United States apply in public to corporate misrepresentations?

What aircraft was used as Air Force One for the flight between Southampton and Shannon?

Wooden cooking layout

Minimum distance between two connectors in a high voltage PCB design

How to trick the reader into thinking they're following a redshirt instead of the protagonist?

Why didn't Voldemort recognize that Dumbledore was affected by his curse?

Longest bridge/tunnel that can be cycled over/through?

Is it safe to change the harddrive power feature so that it never turns off?

ed command: Delete from line 1 until the first blank line

Are there any important biographies of nobodies?

Finding value of expression with roots of a given polynomial.

Why am I getting a strange double quote (“) in Open Office instead of the ordinary one (")?

Is it a bad idea to to run 24 tap and shock lands in standard

Check if three arrays contains the same element

How does the Around command at zero work?

What is the color of artificial intelligence?

Are polynomials with the same roots identical?

Why did Sanhedrin deal with who has a share in Olam Habah?

Generate basis elements of the Steenrod algebra

Thread Pool C++ Implementation



NativeScript how change layout direction in scrollView


HorizontalScrollView doesn't scroll to left in RTL modeNativeScript ScrollView scrollToHorizontalOffset not workingHow to find/watch the dimensions of a view in a NativeScript layout?Disable ScrollView bounce NativeScriptNativescript tab layout approachNativescript GridLayout wrapped by ScrollViewSticky Header and Footer for ScrollView in NativeScript on a Modal Pagechange direction of nativescript sliderHow to position element at the bottom of Absolute Layout in NativeScript?Nativescript LayoutNativeScript ScrollView bug on Android with runtime version 5.0.0






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I have this ScrollView:



<ScrollView orientation="horizontal" horizontalAlignment="center" android:layoutDirection="rtl">


I try change direction scrollView , but not work for me.



But exist private function isLayoutRtl in
tns-core-modules-widgets



private boolean isLayoutRtl() 
return (this.getLayoutDirection() == LAYOUT_DIRECTION_RTL);



I can change orientation horizontal ,But not change scroll rtl.
mor information visit link.



How change directoin RTL scroll in scroll View?



Tanks










share|improve this question






























    1















    I have this ScrollView:



    <ScrollView orientation="horizontal" horizontalAlignment="center" android:layoutDirection="rtl">


    I try change direction scrollView , but not work for me.



    But exist private function isLayoutRtl in
    tns-core-modules-widgets



    private boolean isLayoutRtl() 
    return (this.getLayoutDirection() == LAYOUT_DIRECTION_RTL);



    I can change orientation horizontal ,But not change scroll rtl.
    mor information visit link.



    How change directoin RTL scroll in scroll View?



    Tanks










    share|improve this question


























      1












      1








      1








      I have this ScrollView:



      <ScrollView orientation="horizontal" horizontalAlignment="center" android:layoutDirection="rtl">


      I try change direction scrollView , but not work for me.



      But exist private function isLayoutRtl in
      tns-core-modules-widgets



      private boolean isLayoutRtl() 
      return (this.getLayoutDirection() == LAYOUT_DIRECTION_RTL);



      I can change orientation horizontal ,But not change scroll rtl.
      mor information visit link.



      How change directoin RTL scroll in scroll View?



      Tanks










      share|improve this question
















      I have this ScrollView:



      <ScrollView orientation="horizontal" horizontalAlignment="center" android:layoutDirection="rtl">


      I try change direction scrollView , but not work for me.



      But exist private function isLayoutRtl in
      tns-core-modules-widgets



      private boolean isLayoutRtl() 
      return (this.getLayoutDirection() == LAYOUT_DIRECTION_RTL);



      I can change orientation horizontal ,But not change scroll rtl.
      mor information visit link.



      How change directoin RTL scroll in scroll View?



      Tanks







      nativescript






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 '17 at 10:30









      Community

      11




      11










      asked Feb 13 '17 at 22:46









      MJ VakiliMJ Vakili

      1,1411421




      1,1411421






















          2 Answers
          2






          active

          oldest

          votes


















          2














          The direction can be set by the orientation property. Is that indeed what you need? https://docs.nativescript.org/api-reference/classes/_ui_scroll_view_.scrollview.html#orientation






          share|improve this answer























          • very tanks.But not resolve problem.I update question. I would change scroll horizontal RTL.

            – MJ Vakili
            Feb 15 '17 at 5:49






          • 1





            Ah, thanks. Take a look at this repo: github.com/rkhayyat/SyrianForumFrance

            – Eddy Verbruggen
            Feb 15 '17 at 7:39


















          1














          I searched a lot and didn't find an official solution. But to keep things working, scroll to the end of the scrollView after loading it:



          onScrollViewLoaded()
          setTimeout(()=>
          let scrollView = this.$refs.scrollView.nativeView;
          scrollView.scrollToHorizontalOffset(scrollView.scrollableWidth, false)
          ,1);
          ,





          share|improve this answer

























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f42214941%2fnativescript-how-change-layout-direction-in-scrollview%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            The direction can be set by the orientation property. Is that indeed what you need? https://docs.nativescript.org/api-reference/classes/_ui_scroll_view_.scrollview.html#orientation






            share|improve this answer























            • very tanks.But not resolve problem.I update question. I would change scroll horizontal RTL.

              – MJ Vakili
              Feb 15 '17 at 5:49






            • 1





              Ah, thanks. Take a look at this repo: github.com/rkhayyat/SyrianForumFrance

              – Eddy Verbruggen
              Feb 15 '17 at 7:39















            2














            The direction can be set by the orientation property. Is that indeed what you need? https://docs.nativescript.org/api-reference/classes/_ui_scroll_view_.scrollview.html#orientation






            share|improve this answer























            • very tanks.But not resolve problem.I update question. I would change scroll horizontal RTL.

              – MJ Vakili
              Feb 15 '17 at 5:49






            • 1





              Ah, thanks. Take a look at this repo: github.com/rkhayyat/SyrianForumFrance

              – Eddy Verbruggen
              Feb 15 '17 at 7:39













            2












            2








            2







            The direction can be set by the orientation property. Is that indeed what you need? https://docs.nativescript.org/api-reference/classes/_ui_scroll_view_.scrollview.html#orientation






            share|improve this answer













            The direction can be set by the orientation property. Is that indeed what you need? https://docs.nativescript.org/api-reference/classes/_ui_scroll_view_.scrollview.html#orientation







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 14 '17 at 9:47









            Eddy VerbruggenEddy Verbruggen

            3,2471923




            3,2471923












            • very tanks.But not resolve problem.I update question. I would change scroll horizontal RTL.

              – MJ Vakili
              Feb 15 '17 at 5:49






            • 1





              Ah, thanks. Take a look at this repo: github.com/rkhayyat/SyrianForumFrance

              – Eddy Verbruggen
              Feb 15 '17 at 7:39

















            • very tanks.But not resolve problem.I update question. I would change scroll horizontal RTL.

              – MJ Vakili
              Feb 15 '17 at 5:49






            • 1





              Ah, thanks. Take a look at this repo: github.com/rkhayyat/SyrianForumFrance

              – Eddy Verbruggen
              Feb 15 '17 at 7:39
















            very tanks.But not resolve problem.I update question. I would change scroll horizontal RTL.

            – MJ Vakili
            Feb 15 '17 at 5:49





            very tanks.But not resolve problem.I update question. I would change scroll horizontal RTL.

            – MJ Vakili
            Feb 15 '17 at 5:49




            1




            1





            Ah, thanks. Take a look at this repo: github.com/rkhayyat/SyrianForumFrance

            – Eddy Verbruggen
            Feb 15 '17 at 7:39





            Ah, thanks. Take a look at this repo: github.com/rkhayyat/SyrianForumFrance

            – Eddy Verbruggen
            Feb 15 '17 at 7:39













            1














            I searched a lot and didn't find an official solution. But to keep things working, scroll to the end of the scrollView after loading it:



            onScrollViewLoaded()
            setTimeout(()=>
            let scrollView = this.$refs.scrollView.nativeView;
            scrollView.scrollToHorizontalOffset(scrollView.scrollableWidth, false)
            ,1);
            ,





            share|improve this answer





























              1














              I searched a lot and didn't find an official solution. But to keep things working, scroll to the end of the scrollView after loading it:



              onScrollViewLoaded()
              setTimeout(()=>
              let scrollView = this.$refs.scrollView.nativeView;
              scrollView.scrollToHorizontalOffset(scrollView.scrollableWidth, false)
              ,1);
              ,





              share|improve this answer



























                1












                1








                1







                I searched a lot and didn't find an official solution. But to keep things working, scroll to the end of the scrollView after loading it:



                onScrollViewLoaded()
                setTimeout(()=>
                let scrollView = this.$refs.scrollView.nativeView;
                scrollView.scrollToHorizontalOffset(scrollView.scrollableWidth, false)
                ,1);
                ,





                share|improve this answer















                I searched a lot and didn't find an official solution. But to keep things working, scroll to the end of the scrollView after loading it:



                onScrollViewLoaded()
                setTimeout(()=>
                let scrollView = this.$refs.scrollView.nativeView;
                scrollView.scrollToHorizontalOffset(scrollView.scrollableWidth, false)
                ,1);
                ,






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Mar 24 at 19:11









                double-beep

                3,12451632




                3,12451632










                answered Mar 24 at 18:58









                AliAli

                112




                112



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f42214941%2fnativescript-how-change-layout-direction-in-scrollview%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript