mirror of
https://github.com/storytold/egui.git
synced 2026-11-26 12:31:41 +01:00
Fix outdated default in TableBuilder::max_scroll_height docstring (#8544)
The default was changed to `f32::INFINITY` in #4817, but the docstring still claimed `800.0`. * Related: <https://github.com/emilk/egui/issues/3114> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
e7c7b00a93
commit
e8a2c5571d
1 file changed
+1
-1
@@ -375,7 +375,7 @@ impl<'a> TableBuilder<'a> {
|
||||
/// Don't make the scroll area higher than this (add scroll-bars instead!).
|
||||
///
|
||||
/// In other words: add scroll-bars when this height is reached.
|
||||
/// Default: `800.0`.
|
||||
/// Default: `f32::INFINITY`.
|
||||
#[inline]
|
||||
pub fn max_scroll_height(mut self, max_scroll_height: f32) -> Self {
|
||||
self.scroll_options.max_scroll_height = max_scroll_height;
|
||||
|
||||
Reference in new issue
Block a user