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;
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
add a comment |
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
add a comment |
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
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
nativescript
edited May 23 '17 at 10:30
Community♦
11
11
asked Feb 13 '17 at 22:46
MJ VakiliMJ Vakili
1,1411421
1,1411421
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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
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
add a comment |
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);
,
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
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);
,
add a comment |
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);
,
add a comment |
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);
,
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);
,
edited Mar 24 at 19:11
double-beep
3,12451632
3,12451632
answered Mar 24 at 18:58
AliAli
112
112
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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