Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/ui/buttons_object.py')
-rw-r--r--release/ui/buttons_object.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/release/ui/buttons_object.py b/release/ui/buttons_object.py
index af2c7cfb58a..9e043cfeaf3 100644
--- a/release/ui/buttons_object.py
+++ b/release/ui/buttons_object.py
@@ -92,10 +92,14 @@ class OBJECT_PT_display(ObjectButtonsPanel):
layout = self.layout
ob = context.object
-
- row = layout.row()
- row.itemR(ob, "max_draw_type", text="Type")
- row.itemR(ob, "draw_bounds_type", text="Bounds")
+
+ split = layout.split()
+ col = split.column()
+ col.itemR(ob, "max_draw_type", text="Type")
+ col = split.column()
+ row = col.row()
+ row.itemR(ob, "draw_bounds", text="Bounds")
+ row.itemR(ob, "draw_bounds_type", text="")
flow = layout.column_flow()
flow.itemR(ob, "draw_name", text="Name")