From 6858065754a7d0672fe21caf6739963852f21222 Mon Sep 17 00:00:00 2001 From: William Reynish Date: Mon, 7 Dec 2020 13:29:53 -0800 Subject: 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 --- release/scripts/startup/bl_ui/space_userpref.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'release') 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): -- cgit v1.2.3