Changed the appearance of the toolbar buttons.
When stacked on top of each other, it looks cleaner and simpler without the gradient. This makes it easier to scan through long lists of tools. http://www.reynish.com/files/blender25/toolbar_buttons.png
This commit is contained in:
@@ -34,7 +34,7 @@ class USERPREF_HT_header(bpy.types.Header):
|
||||
|
||||
if userpref.active_section == 'INPUT':
|
||||
layout.operator_context = 'INVOKE_DEFAULT'
|
||||
layout.item_stringO("wm.keyconfig_export", "path", "keymap.py", "Export Key Configuration...")
|
||||
layout.itemO("wm.keyconfig_export", "Export Key Configuration...")
|
||||
|
||||
|
||||
class USERPREF_MT_view(bpy.types.Menu):
|
||||
@@ -441,7 +441,27 @@ class USERPREF_PT_theme(bpy.types.Panel):
|
||||
sub2.active = ui.shaded
|
||||
sub2.itemR(ui, "shadetop")
|
||||
sub2.itemR(ui, "shadedown")
|
||||
|
||||
ui = theme.user_interface.wcol_toolbar
|
||||
layout.itemL(text="Toolbar:")
|
||||
|
||||
sub = layout.row()
|
||||
sub1 = sub.column()
|
||||
sub1.itemR(ui, "outline")
|
||||
sub1.itemR(ui, "item", slider=True)
|
||||
sub1 = sub.column()
|
||||
sub1.itemR(ui, "inner", slider=True)
|
||||
sub1.itemR(ui, "inner_sel", slider=True)
|
||||
sub1 = sub.column()
|
||||
sub1.itemR(ui, "text")
|
||||
sub1.itemR(ui, "text_sel")
|
||||
sub1 = sub.column()
|
||||
sub1.itemR(ui, "shaded")
|
||||
sub2 = sub1.column(align=True)
|
||||
sub2.active = ui.shaded
|
||||
sub2.itemR(ui, "shadetop")
|
||||
sub2.itemR(ui, "shadedown")
|
||||
|
||||
ui = theme.user_interface.wcol_radio
|
||||
layout.itemL(text="Radio Buttons:")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user