diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-05-29 03:58:18 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-05-29 03:58:18 +0400 |
commit | ce334b1cd9a23a7b89d6926618526f0e6e80b437 (patch) | |
tree | 0d418b29b50e16b338b96ff9b9adf16ecf585218 /source/blender/editors/interface | |
parent | a741cbff82b824877f3799d45b07c68b0485249e (diff) |
UI: Matt, check space_outliner.c diff to see how to get python
layouts in a header.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index c43b2588fa4..2e123c28339 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -655,7 +655,7 @@ static void ui_item_rna_size(uiLayout *layout, char *name, int icon, PropertyRNA subtype= RNA_property_subtype(prop); len= RNA_property_array_length(prop); - if(type == PROP_STRING) + if(ELEM(type, PROP_STRING, PROP_ENUM)) w += 10*UI_UNIT_X; /* increase height for arrays */ |