[Bf-blender-cvs] [6858065754a] master: Userprefs: Tooltips Section Layout Tweaks
William Reynish
noreply at git.blender.org
Mon Dec 7 22:32:35 CET 2020
Commit: 6858065754a7d0672fe21caf6739963852f21222
Author: William Reynish
Date: Mon Dec 7 13:29:53 2020 -0800
Branches: master
https://developer.blender.org/rB6858065754a7d0672fe21caf6739963852f21222
Userprefs: Tooltips Section Layout Tweaks
Small improvements to the layout of the Tooltips section in Preferences.
Differential Revision: https://developer.blender.org/D9772
Reviewed by Pablo Vazquez
===================================================================
M release/scripts/startup/bl_ui/space_userpref.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index e90c9fb27e7..761e60aef30 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -207,10 +207,14 @@ class USERPREF_PT_interface_display(InterfacePanel, CenterAlignMixIn, Panel):
col.prop(view, "ui_line_width", text="Line Width")
col.prop(view, "show_splash", text="Splash Screen")
col.prop(view, "show_developer_ui")
+
+ col.separator()
- col = layout.column(heading="Tooltips")
- col.prop(view, "show_tooltips")
- col.prop(view, "show_tooltips_python")
+ col = layout.column(heading="Tooltips", align=True)
+ col.prop(view, "show_tooltips", text = "User Tooltips")
+ sub = col.column()
+ sub.active = view.show_tooltips
+ sub.prop(view, "show_tooltips_python")
class USERPREF_PT_interface_text(InterfacePanel, CenterAlignMixIn, Panel):
More information about the Bf-blender-cvs
mailing list