chore: Update TabPanel closable doc. (#672)
This commit is contained in:
parent
42c82bfc31
commit
7eaac7b171
1 changed files with 2 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ pub struct TabPanel {
|
||||||
pub(crate) active_ix: usize,
|
pub(crate) active_ix: usize,
|
||||||
/// If this is true, the Panel closable will follow the active panel's closable,
|
/// If this is true, the Panel closable will follow the active panel's closable,
|
||||||
/// otherwise this TabPanel will not able to close
|
/// otherwise this TabPanel will not able to close
|
||||||
|
///
|
||||||
|
/// This is used for Dock to limit the last TabPanel not able to close, see [`super::Dock::new`].
|
||||||
pub(crate) closable: bool,
|
pub(crate) closable: bool,
|
||||||
|
|
||||||
tab_bar_scroll_handle: ScrollHandle,
|
tab_bar_scroll_handle: ScrollHandle,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue