From ac74f354244bf6ecccd8b694dfe08c50cc2ec909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Fri, 31 Jul 2020 06:43:51 +0200 Subject: [PATCH] Clarify `TitleBar::always_show_controls` docs a bit --- native/src/widget/pane_grid/title_bar.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/native/src/widget/pane_grid/title_bar.rs b/native/src/widget/pane_grid/title_bar.rs index 3851a184..1d4a32e9 100644 --- a/native/src/widget/pane_grid/title_bar.rs +++ b/native/src/widget/pane_grid/title_bar.rs @@ -68,12 +68,15 @@ where self } - /// Sets whether or not the [`controls`] attached to this - /// panes [`TitleBar`] are always visible. By default, the controls - /// are only visible on hover. + /// Sets whether or not the [`controls`] attached to this [`TitleBar`] are + /// always visible. + /// + /// By default, the controls are only visible when the [`Pane`] of this + /// [`TitleBar`] is hovered. /// /// [`TitleBar`]: struct.TitleBar.html /// [`controls`]: struct.TitleBar.html#method.controls + /// [`Pane`]: struct.Pane.html pub fn always_show_controls(mut self) -> Self { self.always_show_controls = true; self