swipeContainer vertically slide?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-27 8:06 PM
I want to use swipeContainer. It can only slide horizontally. Can it slide vertically?
Solved! Go to Solution.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-01 10:54 PM
Hello,
To make it slide vertically, you can simply modify the code by changing the x moves to y moves.
Fortunately I did it a while ago so you can have a look at the enclosed project.
/Alexandre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-01 10:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-02 7:48 PM
:face_with_tears_of_joy: Thanks for your code.
But in this way, I cant't place the UI material with the Designer. The frequent requirements from Industrial design will drive me crazy.:sad_but_relieved_face:
When will this feature be officially released?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-02 8:43 PM
Unfortunately, there's no plan on officially releasing such a feature.
It is expected from users to code manually if it is not included in TouchGFX. We don't include all the possible widgets because this would increase the size of the library and we have to keep in mind that TouchGFX has to run on low cost MCUs embedding small memory as well .
Coding manually is not that hard ;) You just have to imagine the TouchGFX Designer canvas in your head when you code.
Many things cannot be done by the Designer anyway so to some extent you will have to code yourself one way or another.
/Alexandre
