[Bf-extensions-cvs] [60bf224] master: Use URL icon, add Tip: prefix, increase lower margin
Campbell Barton
noreply at git.blender.org
Mon Feb 2 20:12:40 CET 2015
Commit: 60bf224aea6759cf2659bfd03cd1741b035c0eef
Author: Campbell Barton
Date: Tue Feb 3 06:11:41 2015 +1100
Branches: master
https://developer.blender.org/rBAC60bf224aea6759cf2659bfd03cd1741b035c0eef
Use URL icon, add Tip: prefix, increase lower margin
@plyczkowski
===================================================================
M ui_splash_tips/__init__.py
===================================================================
diff --git a/ui_splash_tips/__init__.py b/ui_splash_tips/__init__.py
index c7549c9..be5b7ff 100644
--- a/ui_splash_tips/__init__.py
+++ b/ui_splash_tips/__init__.py
@@ -76,13 +76,14 @@ def menu_func(self, context):
tip, url = find_random_tip()
tip = tip.split("\\n")
row = layout.row()
- row.label(tip[0])
+ row.label("Tip: " + tip[0])
if url:
- row.operator("wm.url_open", text="", icon='INFO').url = url_prefix + url
+ row.operator("wm.url_open", text="", icon='URL').url = url_prefix + url
for tip_line in tip[1:]:
row = layout.row()
row.label(tip_line.strip())
layout.separator()
+ layout.separator()
import bpy
More information about the Bf-extensions-cvs
mailing list