2021-01-20 07:24 AM
Hello,
Not sure if this is the correct place for an issue report. If there is a better way, please let me know.
I am using TouchGFX Designer 4.16.0 and noticed that when I use the listLayout container
it seems to only support "East" layout. Even if I change it to "South" and save the project and "Generate code", the generated code shows "East"
listLayout1.setDirection(touchgfx::EAST);
My environment is the STM32F769I-Discovery board with the screen set to Portrait mode,
in case that matters.
Is anyone else seeing this?
Solved! Go to Solution.
2021-01-22 06:30 AM
What you can do meanwhile otherwise is to set it directly in your code, so for example mainScreenView.cpp (wherever screen your listLayout is):
Screen1View::Screen1View()
{
listLayout1.setDirection(touchgfx::EAST);
}
2021-01-22 06:19 AM
Hi,
Curiously enough, i faced the issue where mine was set to South and would always revert to it when trying to set it to East... What happened was that i added a new listLayout widget, set it to South directly then generated code and now it won't change again. Could you try adding a new listLayout on your side and set it to East directly ?
But thank you for reporting this, it is odd. I have created an internal ticket to further investigate and fix this.
/Romain
2021-01-22 06:30 AM
What you can do meanwhile otherwise is to set it directly in your code, so for example mainScreenView.cpp (wherever screen your listLayout is):
Screen1View::Screen1View()
{
listLayout1.setDirection(touchgfx::EAST);
}
2021-05-25 03:16 AM
This issue still persists and has not been fixed in 4.16.1 unfortunately...
2021-05-25 05:33 AM
Hi,
Could you share your project ? I have tried it out on my end and I do not face that issue anymore.
/Romain