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:
Emil ErnerfeldtandClaude Fable 5.1 authored and GitHub committed 2026-09-09 16:41:16 +02:00
1 parent e7c7b00a93
commit e8a2c5571d
1 file changed
+1 -1
+1 -1
View File
@@ -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;