diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-07 17:20:41 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-06-07 17:20:41 +0400 |
commit | 1c9079d6e1ea8912a5b5901026e6f4446dea0527 (patch) | |
tree | 0a9fe3be6b9854f88b1a4ec9e69f3eb58e4a4460 /source/blender/editors/interface/interface_utils.c | |
parent | c1135d489bf7c41b2e081b593bac08e62bf980a3 (diff) |
UI:
* layout.split() now takes a percentage argument to control
the split position.
* ID template now works for more than just the Text ID type,
includes and icon, and some other fixes.
Diffstat (limited to 'source/blender/editors/interface/interface_utils.c')
-rw-r--r-- | source/blender/editors/interface/interface_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_utils.c b/source/blender/editors/interface/interface_utils.c index 97ae2c01c55..fa7de1151a3 100644 --- a/source/blender/editors/interface/interface_utils.c +++ b/source/blender/editors/interface/interface_utils.c @@ -155,7 +155,7 @@ void uiDefAutoButsRNA(const bContext *C, uiLayout *layout, PointerRNA *ptr) if(strcmp(RNA_property_identifier(prop), "rna_type") == 0) continue; - split = uiLayoutSplit(layout); + split = uiLayoutSplit(layout, 0.5f); name= (char*)RNA_property_ui_name(prop); |