Renamed "col2" to "wide_ui" which is more meaningful.

This commit is contained in:
Thomas Dinges
2009-11-19 13:26:51 +00:00
parent 08a7bbeae5
commit 2577bfddfd
25 changed files with 551 additions and 551 deletions

View File

@@ -38,9 +38,9 @@ class DATA_PT_empty(DataButtonsPanel):
layout = self.layout
ob = context.object
col2 = context.region.width > narrowui
wide_ui = context.region.width > narrowui
if col2:
if wide_ui:
layout.itemR(ob, "empty_draw_type", text="Display")
else:
layout.itemR(ob, "empty_draw_type", text="")