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:
authorHans Goudey <h.goudey@me.com>2020-09-18 22:37:33 +0300
committerHans Goudey <h.goudey@me.com>2020-09-18 22:37:33 +0300
commit05c57dc563b81d7ec22ceb46cda1422f55c69c95 (patch)
tree8779b3dde09763ebf9daef159c7870fac190a758 /release/scripts/startup
parenta13b14b67d6f3931792da7eb8a0e04aed1196616 (diff)
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.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py8
1 files changed, 6 insertions, 2 deletions
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")