Set button emboss to false a few more places where it makes sense, such as disclosure triangles and panel closing X icons.

This commit is contained in:
William Reynish
2010-06-26 21:40:11 +00:00
parent f6eed88a78
commit 4eba521903
3 changed files with 7 additions and 6 deletions

View File

@@ -395,7 +395,7 @@ class DATA_PT_textboxes(DataButtonsPanel):
col.prop(box, "x", text="X")
col.prop(box, "y", text="Y")
row.operator("font.textbox_remove", text='', icon='X').index = i
row.operator("font.textbox_remove", text='', icon='X', emboss=False).index = i
classes = [

View File

@@ -170,7 +170,7 @@ class OBJECT_PT_groups(ObjectButtonsPanel):
row = col.box().row()
row.prop(group, "name", text="")
row.operator("object.group_remove", text="", icon='X')
row.operator("object.group_remove", text="", icon='X', emboss=False)
split = col.box().split()

View File

@@ -35,16 +35,17 @@ class LOGIC_PT_properties(bpy.types.Panel):
ob = context.active_object
game = ob.game
layout.operator("object.game_property_new", text="Add Game Property")
layout.operator("object.game_property_new", text="Add Game Property", icon='ZOOMIN')
for i, prop in enumerate(game.properties):
row = layout.row(align=True)
box = layout.box()
row = box.row()
row.prop(prop, "name", text="")
row.prop(prop, "type", text="")
row.prop(prop, "value", text="", toggle=True) # we dont care about the type. rna will display correctly
row.prop(prop, "debug", text="", toggle=True, icon='INFO')
row.operator("object.game_property_remove", text="", icon='X').index = i
row.operator("object.game_property_remove", text="", icon='X', emboss=False).index = i
class LOGIC_MT_logicbricks_add(bpy.types.Menu):