Add macros with standardized margin values in GTK4
The GNOME HIG has a document with information about the spacing that should be used for margins. Having macros with these values would be much nicer:
- Developers wouldn't need to hardcode their own macros (like I do).
- That would reinforce a standard among applications.
- If this ever needs to change, a change on the macros would change all applications.
So, here are my suggestions:
#define GTK_MARGIN_MINOR 6 /* For associated elements */
#define GTK_MARGIN_MEDIUM 12 /* For associated group of elements */
#define GTK_MARGIN_MAJOR 18 /* For non-associated elements or group of elements */
#define GTK_MARGIN_INDENT GTK_MARGIN_MEDIUM /* Horizontal indentation */
#define GTK_MARGIN_FRAME GTK_MARGIN_MAJOR /* For the content of a frame and the frame border */
Thoughts?