From 05c57dc563b81d7ec22ceb46cda1422f55c69c95 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 18 Sep 2020 14:37:33 -0500 Subject: UI: Use property split in UV editor panels This is not an exhaustive change, just for the 2D cursor and UDIM grid properties. Also vertically align the "UV Vertex" buttons like in the 3D view panels. --- release/scripts/startup/bl_ui/space_image.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index fa71bc1d14d..2519b5a2f40 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -1480,10 +1480,11 @@ class IMAGE_PT_uv_cursor(Panel): sima = context.space_data - col = layout.column() + layout.use_property_split = True + layout.use_property_decorate = False col = layout.column() - col.prop(sima, "cursor_location", text="Cursor Location") + col.prop(sima, "cursor_location", text="Location") class IMAGE_PT_udim_grid(Panel): @@ -1504,6 +1505,9 @@ class IMAGE_PT_udim_grid(Panel): sima = context.space_data uvedit = sima.uv_editor + layout.use_property_split = True + layout.use_property_decorate = False + col = layout.column() col.prop(uvedit, "tile_grid_shape", text="Grid Shape") -- cgit v1.2.3