I’m working on a theme which adds padding to the notebook widget to allow room for rounded corners. This is due to the fact that frames do not clip their children:
Therefore I need to add padding. However, I only want padding if tabs are visible. Otherwise it’s just a frame within a frame which looks silly:
Is there a way to set padding for notebook widgets based on whether its tabs are visible?
Hello. This question is regarding the modification of a global theme for GTK3 and not about writing an application. The image in my post is of MATE Pluma.