Change default max_scroll_height of egui::Table to f32::INFINITY (#4817) egui::Table has a weirdly specific default max_scroll_height set to 800.0. This means that even with vscroll(true) and auto_shrink([_, false]), the table will not expend to the full available height. This PR changes this value to f32::INFINITY. This makes it consistent with the corresponding default value of ScrollArea::max_size.y, which is where that max_scroll_height ends up being used.
Change default max_scroll_height of egui::Table to f32::INFINITY (#4817)
max_scroll_height
egui::Table
f32::INFINITY
egui::Table has a weirdly specific default max_scroll_height set to 800.0. This means that even with vscroll(true) and auto_shrink([_, false]), the table will not expend to the full available height. This PR changes this value to f32::INFINITY. This makes it consistent with the corresponding default value of ScrollArea::max_size.y, which is where that max_scroll_height ends up being used.
vscroll(true)
auto_shrink([_, false])
ScrollArea::max_size.y
该内容不合规,请修改。
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
该内容不合规,请修改。