Event Timeline
Comment Actions
This is a quick and dirty layout hack for accessing a few layout engine properties. With this patch, you can tweak things like the space between items within a layout block through Blender's python console via C.preferences.ui_styles[0]. Here are the default values for these properties, from interface_style.c:
style->columnspace = 8; style->templatespace = 5; style->boxspace = 5; style->buttonspacex = 8; style->buttonspacey = 2; style->panelspace = 8; style->panelouter = 4;
This is mostly for pixel-sniffing purposes.