Long old UI annoyance:
The up/down triangle icon for menus was not drawing when a menu had an icon; even though space was reserved there. Note: this can only work now with removing the ugly "down triangle" icon from buttons like next to the Material list box (button pops up menu with tools). Looks nicer this way anyway.
This commit is contained in:
@@ -130,7 +130,7 @@ class TEXTURE_PT_context_texture(TextureButtonsPanel, Panel):
|
||||
col = row.column(align=True)
|
||||
col.operator("texture.slot_move", text="", icon='TRIA_UP').type = 'UP'
|
||||
col.operator("texture.slot_move", text="", icon='TRIA_DOWN').type = 'DOWN'
|
||||
col.menu("TEXTURE_MT_specials", icon='DOWNARROW_HLT', text="")
|
||||
col.menu("TEXTURE_MT_specials", icon='BLANK1', text="")
|
||||
|
||||
split = layout.split(percentage=0.65)
|
||||
col = split.column()
|
||||
@@ -511,7 +511,7 @@ class TEXTURE_PT_envmap(TextureTypePanel, Panel):
|
||||
|
||||
row = layout.row()
|
||||
row.prop(env, "source", expand=True)
|
||||
row.menu("TEXTURE_MT_envmap_specials", icon='DOWNARROW_HLT', text="")
|
||||
row.menu("TEXTURE_MT_envmap_specials", icon='BLANK1', text="")
|
||||
|
||||
if env.source == 'IMAGE_FILE':
|
||||
layout.template_ID(tex, "image", open="image.open")
|
||||
|
Reference in New Issue
Block a user