Keep buttons alignment when device selector is not visible

This commit is contained in:
2018-08-08 10:42:24 +02:00
parent 8c0216fce6
commit b216fcb8cb

View File

@@ -489,6 +489,10 @@ class BENCHMARK_PT_main(Panel):
sub = col.row() sub = col.row()
sub.scale_y = 1.5 sub.scale_y = 1.5
sub.prop(context.scene, "compute_device", text="") sub.prop(context.scene, "compute_device", text="")
else:
sub = col.row()
sub.scale_y = 1.5
sub.label(text="")
sub = col.row() sub = col.row()
sub.scale_y = 2.25 sub.scale_y = 2.25