Vadim1980 Posted March 28, 2023 Report Share Posted March 28, 2023 I have only 4 string in my display and I want to use one screan for all my settings. So, if edit is out of vissible area, container can scroll to require component throw set focus command. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted March 29, 2023 Report Share Posted March 29, 2023 You should be able to make the container larger than the display and then move it with `gwinMove()`. Alternatively, you might want to use the List widget which already implements proper scrolling: https://wiki.ugfx.io/index.php/List Note that this widget can be heavily customized to fit your needs. There is an example on the forum showing how to use it for an icon grid. Link to comment Share on other sites More sharing options...
Vadim1980 Posted March 30, 2023 Author Report Share Posted March 30, 2023 17 hours ago, Joel Bodenmann said: You should be able to make the container larger than the display and then move it with `gwinMove()`. Alternatively, you might want to use the List widget which already implements proper scrolling: https://wiki.ugfx.io/index.php/List Note that this widget can be heavily customized to fit your needs. There is an example on the forum showing how to use it for an icon grid. Thank you, I am already use it. But I want to use Lable with TextEdit like List Item element, may by later I will try to make it but now I try to use container Link to comment Share on other sites More sharing options...
Vadim1980 Posted March 30, 2023 Author Report Share Posted March 30, 2023 I want to clarify. I have to make Container with bigger size and change position for every component, which belongs to Container, with command gwinMove? Or I have to move container and all his children should be moved automatically? Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted March 30, 2023 Report Share Posted March 30, 2023 Children inside the container will be moved automatically when you move the parent container. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now