Is it possible to configure a box with rounded corners? I could create images to solve this, but there will be several background boxes in this project, so it would conserve memory if I could use boxes with fill. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-04-14 11:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-04-19 12:32 AM
Hello @RLe.1inen ,
There is currently no option in TouchGFXDesigner to round the corners of boxes.
But you can create a CustomContainer with a box and 4 "Shape" widgets. Then, you be able to modify the coordinates of your shape's points to get your rounded corner.
The issue with this solution is that it's quite complex to implement, and it will require more resources from your board, because it will have to calculate complex points.
So, I recommend you strongly to create an image of your box with rounded corner, and then call it in TouchGFXDesigner by using the "Image" widget, even though it will cost you more memory.
Hope that it helped you,
/Yoann
ST Software Developer | TouchGFX
