Skip to content

Commit

Permalink
Fix TopBottomPanel doc comment to reference TopBottomPanel instead of…
Browse files Browse the repository at this point in the history
… SidePanel (#3590)
  • Loading branch information
zachbateman authored Nov 21, 2023
1 parent 05a3c4c commit 6adc486
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/containers/panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ impl TopBottomPanel {
self
}

/// The initial height of the [`SidePanel`].
/// The initial height of the [`TopBottomPanel`].
/// Defaults to [`style::Spacing::interact_size`].y.
#[inline]
pub fn default_height(mut self, default_height: f32) -> Self {
Expand Down

0 comments on commit 6adc486

Please sign in to comment.