diff options
author | William Reynish <william@reynish.com> | 2010-06-27 01:40:11 +0400 |
---|---|---|
committer | William Reynish <william@reynish.com> | 2010-06-27 01:40:11 +0400 |
commit | 4eba521903add76db3e85fcfc18251c35abb531f (patch) | |
tree | d89b3eece71cc3526aac5121b96df046d812dfcd /release | |
parent | f6eed88a7883e07f00949f3952f9214fa70cb996 (diff) |
Set button emboss to false a few more places where it makes sense, such as disclosure triangles and panel closing X icons.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_data_curve.py | 2 | ||||
-rw-r--r-- | release/scripts/ui/properties_object.py | 2 | ||||
-rw-r--r-- | release/scripts/ui/space_logic.py | 9 |
3 files changed, 7 insertions, 6 deletions
diff --git a/release/scripts/ui/properties_data_curve.py b/release/scripts/ui/properties_data_curve.py index b4d17104cfc..21359e1dbe2 100644 --- a/release/scripts/ui/properties_data_curve.py +++ b/release/scripts/ui/properties_data_curve.py @@ -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 = [ diff --git a/release/scripts/ui/properties_object.py b/release/scripts/ui/properties_object.py index 5072abd4ab1..03d5a21f479 100644 --- a/release/scripts/ui/properties_object.py +++ b/release/scripts/ui/properties_object.py @@ -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() diff --git a/release/scripts/ui/space_logic.py b/release/scripts/ui/space_logic.py index c6b5092b636..ab602da12b6 100644 --- a/release/scripts/ui/space_logic.py +++ b/release/scripts/ui/space_logic.py @@ -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): |