[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22751] branches/blender2.5/blender/ release/ui/space_image.py: Tiny tweaks to Display panel in image editor
William Reynish
william at reynish.com
Tue Aug 25 01:27:08 CEST 2009
Revision: 22751
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22751
Author: billrey
Date: 2009-08-25 01:27:07 +0200 (Tue, 25 Aug 2009)
Log Message:
-----------
Tiny tweaks to Display panel in image editor
Modified Paths:
--------------
branches/blender2.5/blender/release/ui/space_image.py
Modified: branches/blender2.5/blender/release/ui/space_image.py
===================================================================
--- branches/blender2.5/blender/release/ui/space_image.py 2009-08-24 23:09:35 UTC (rev 22750)
+++ branches/blender2.5/blender/release/ui/space_image.py 2009-08-24 23:27:07 UTC (rev 22751)
@@ -317,7 +317,7 @@
class IMAGE_PT_view_properties(bpy.types.Panel):
__space_type__ = 'IMAGE_EDITOR'
__region_type__ = 'UI'
- __label__ = "View Properties"
+ __label__ = "Display"
def poll(self, context):
sima = context.space_data
@@ -335,26 +335,33 @@
col = split.column()
if ima:
- col.itemR(ima, "display_aspect")
+ col.itemR(ima, "display_aspect", text="Aspect Ratio")
col = split.column()
+ col.itemL(text="Coordinates:")
col.itemR(sima, "draw_repeated", text="Repeat")
if show_uvedit:
col.itemR(uvedit, "normalized_coordinates", text="Normalized")
elif show_uvedit:
+ col.itemL(text="Coordinates:")
col.itemR(uvedit, "normalized_coordinates", text="Normalized")
if show_uvedit:
col = layout.column()
row = col.row()
row.itemR(uvedit, "edge_draw_type", expand=True)
- row = col.row()
- row.itemR(uvedit, "draw_smooth_edges", text="Smooth")
- row.itemR(uvedit, "draw_modified_edges", text="Modified")
+
+ split = layout.split()
- row = col.row()
- row.itemR(uvedit, "draw_stretch", text="Stretch")
- row.itemR(uvedit, "draw_stretch_type", text="")
+ col = split.column()
+ col.itemR(uvedit, "draw_stretch", text="Stretch")
+ sub = col.column()
+ sub.active = uvedit.draw_stretch
+ sub.row().itemR(uvedit, "draw_stretch_type", expand=True)
+
+ col = split.column()
+ col.itemR(uvedit, "draw_smooth_edges", text="Smooth")
+ col.itemR(uvedit, "draw_modified_edges", text="Modified")
#col.itemR(uvedit, "draw_edges")
#col.itemR(uvedit, "draw_faces")
More information about the Bf-blender-cvs
mailing list