diff options
author | 2020-07-31 06:43:51 +0200 | |
---|---|---|
committer | 2020-07-31 06:43:51 +0200 | |
commit | ac74f354244bf6ecccd8b694dfe08c50cc2ec909 (patch) | |
tree | 53e1e8a2264b64a1dec31aab00ae9dccdd467b79 /native | |
parent | ab0da5dad0af3a16e266b74480ce2b12506332fb (diff) | |
download | iced-ac74f354244bf6ecccd8b694dfe08c50cc2ec909.tar.gz iced-ac74f354244bf6ecccd8b694dfe08c50cc2ec909.tar.bz2 iced-ac74f354244bf6ecccd8b694dfe08c50cc2ec909.zip |
Clarify `TitleBar::always_show_controls` docs a bit
Diffstat (limited to 'native')
-rw-r--r-- | native/src/widget/pane_grid/title_bar.rs | 9 |
1 files 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 |