diff options
author | William Reynish <billreynish> | 2020-12-08 00:29:53 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2020-12-08 00:29:53 +0300 |
commit | 6858065754a7d0672fe21caf6739963852f21222 (patch) | |
tree | 41f8f2616687779663261643470cc3db726cfa6a /release/scripts/startup/bl_ui/space_userpref.py | |
parent | c822f66bb83eaa0baf90ce662375c0b0aefb9dec (diff) |
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
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 10 |
1 files changed, 7 insertions, 3 deletions
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): |