Hello João,
This is unfortunately not possible out of the box, there are multiple who want this feature. Like you can see in the following link:
https://community.mendix.com/link/space/studio-pro/ideas/3974
However there is a workaround, although it's complex. You can find a explanation here: https://community.mendix.com/link/space/widgets/questions/118391