[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4779] trunk/py/scripts/addons/ development_icon_get.py: Addon: Development Icon was showing labels but shouldn't (icon_only= True seems broken?!).
Sebastian Nell
codemanx at gmx.de
Sun Sep 29 16:04:12 CEST 2013
Revision: 4779
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4779
Author: codemanx
Date: 2013-09-29 14:04:11 +0000 (Sun, 29 Sep 2013)
Log Message:
-----------
Addon: Development Icon was showing labels but shouldn't (icon_only=True seems broken?!). Manually setting text="", although prop default was also "".
Modified Paths:
--------------
trunk/py/scripts/addons/development_icon_get.py
Modified: trunk/py/scripts/addons/development_icon_get.py
===================================================================
--- trunk/py/scripts/addons/development_icon_get.py 2013-09-29 12:34:44 UTC (rev 4778)
+++ trunk/py/scripts/addons/development_icon_get.py 2013-09-29 14:04:11 UTC (rev 4779)
@@ -22,7 +22,7 @@
bl_info = {
'name': 'Icons',
'author': 'Crouch, N.tox, PKHG, Campbell Barton, Dany Lebel',
- 'version': (1, 5, 1),
+ 'version': (1, 5, 2),
"blender": (2, 57, 0),
'location': 'Text Editor > Properties or '\
'Console > Console Menu',
@@ -98,10 +98,10 @@
# expand button
toprow = box.row()
toprow.prop(props, "expand", icon="TRIA_RIGHT", icon_only=True,
- emboss=False)
+ text="", emboss=False) # icon_only broken?
# search buttons
row = toprow.row(align=True)
- row.prop(props, "search", icon="VIEWZOOM")
+ row.prop(props, "search", icon="VIEWZOOM", text="")
# scroll button
row = toprow.row()
row.active = props.bl_rna.scroll[1]['max'] > 1
@@ -126,10 +126,10 @@
# expand button
toprow = box.row()
toprow.prop(props, "expand", icon="TRIA_DOWN", icon_only=True,
- emboss=False)
+ text="", emboss=False)
# search buttons
row = toprow.row(align=True)
- row.prop(props, "search", icon="VIEWZOOM")
+ row.prop(props, "search", icon="VIEWZOOM", text="")
# scroll button
row = toprow.row()
row.active = False
@@ -208,14 +208,17 @@
bpy.context.scene.icon_props
"""
console = bpy.props.BoolProperty(name='Show System Icons',
- description='Display the Icons in the console header', default=False)
- expand = bpy.props.BoolProperty(default=False,
- description="Expand, to display all icons at once")
- search = bpy.props.StringProperty(default="",
- description="Search for icons by name")
- scroll = bpy.props.IntProperty(default=1, min=1,
- max=max(1, icons_total - icons_per_row + 1),
- description="Drag to scroll icons")
+ description='Display the Icons in the console header',
+ default=False)
+ expand = bpy.props.BoolProperty(name="Expand",
+ description="Expand, to display all icons at once",
+ default=False)
+ search = bpy.props.StringProperty(name="Search",
+ description="Search for icons by name",
+ default="")
+ scroll = bpy.props.IntProperty(name="Scroll",
+ description="Drag to scroll icons",
+ default=1, min=1, max=max(1, icons_total - icons_per_row + 1))
bpy.utils.register_module(__name__)
bpy.types.Scene.icon_props = bpy.props.PointerProperty(type=IconProps)
More information about the Bf-extensions-cvs
mailing list