Use URL icon, add Tip: prefix, increase lower margin
authorCampbell Barton <ideasman42@gmail.com>
Mon, 2 Feb 2015 19:11:41 +0000 (06:11 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 2 Feb 2015 19:11:41 +0000 (06:11 +1100)
@plyczkowski

ui_splash_tips/__init__.py

index c7549c9..be5b7ff 100644 (file)
@@ -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