2.5
Undid fix from matt to prevent tog button alignment, this is not working that way... made UI look very bad (like layer buttons) The new code has 'toggle' and 'option' button types, with the latter being the new style, and first for icon rows, layers, etc. Purpose is that RNA or py api would allow to distinguish.
This commit is contained in:
@@ -1987,7 +1987,7 @@ void uiBlockEndAlign(uiBlock *block)
|
||||
|
||||
int ui_but_can_align(uiBut *but)
|
||||
{
|
||||
return !ELEM3(but->type, LABEL, ROUNDBOX, TOG);
|
||||
return !ELEM(but->type, LABEL, ROUNDBOX);
|
||||
}
|
||||
|
||||
static void ui_block_do_align_but(uiBlock *block, uiBut *first, int nr)
|
||||
|
||||
Reference in New Issue
Block a user