[Bf-blender-cvs] [b214e06b02e] master: Clip Editor: Remove Image label from selector
Sergey Sharybin
noreply at git.blender.org
Tue Nov 26 16:15:50 CET 2019
Commit: b214e06b02e83fc518e4d06b2fefaf6fce4b9abc
Author: Sergey Sharybin
Date: Tue Nov 26 16:07:50 2019 +0100
Branches: master
https://developer.blender.org/rBb214e06b02e83fc518e4d06b2fefaf6fce4b9abc
Clip Editor: Remove Image label from selector
Unfortunately, it didn't turn out to be as great as I've hoped to it
will.
The issue is: the label eats too much space, making selector buttons
and image name to be barely readable. Initial idea of making the panel
somewhat wider didn't work either: due to the sizing policy of label
it takes a lot of panel width to make image name readable.
===================================================================
M release/scripts/startup/bl_ui/space_clip.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index 324931b2269..9afdcdff9a5 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -779,7 +779,7 @@ class CLIP_PT_plane_track(CLIP_PT_tracking_panel, Panel):
layout.prop(active_track, "name")
layout.prop(active_track, "use_auto_keying")
layout.template_ID(
- active_track, "image", new="image.new", open="image.open", text="Image")
+ active_track, "image", new="image.new", open="image.open")
row = layout.row()
row.active = active_track.image is not None
More information about the Bf-blender-cvs
mailing list