diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-06 19:17:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-06 19:17:44 +0400 |
commit | acca04bf33a5082cad0cee137d4a7a1fec81350d (patch) | |
tree | 76ff2bdeff5e20188e726040bd9a6d3526574d98 /release/scripts/ui/properties_data_empty.py | |
parent | 17bd603cbcedc78c1adea816ebccfc90dc8837f7 (diff) |
remove narrow ui feature
- re-arranged UI in a way that gave far too much vert scrolling.
- was added all over for simple things like making text="", layout engine should handle this.
- Ton and Brecht are ok with removing this now. Ton would like to work on the layout engine to make it better support these cases.
Diffstat (limited to 'release/scripts/ui/properties_data_empty.py')
-rw-r--r-- | release/scripts/ui/properties_data_empty.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/release/scripts/ui/properties_data_empty.py b/release/scripts/ui/properties_data_empty.py index 31fb4b4a625..b4725647a0a 100644 --- a/release/scripts/ui/properties_data_empty.py +++ b/release/scripts/ui/properties_data_empty.py @@ -19,8 +19,6 @@ # <pep8 compliant> import bpy -narrowui = bpy.context.user_preferences.view.properties_width_check - class DataButtonsPanel(): bl_space_type = 'PROPERTIES' @@ -39,12 +37,8 @@ class DATA_PT_empty(DataButtonsPanel, bpy.types.Panel): layout = self.layout ob = context.object - wide_ui = context.region.width > narrowui - if wide_ui: - layout.prop(ob, "empty_draw_type", text="Display") - else: - layout.prop(ob, "empty_draw_type", text="") + layout.prop(ob, "empty_draw_type", text="Display") layout.prop(ob, "empty_draw_size", text="Size") |