Method ReservedConsoleHeight
- Namespace
- OpenEphys.Miniscope.Gui
- Assembly
- OpenEphys.Miniscope.Gui.dll
ReservedConsoleHeight(float)
Gets the total vertical space, in pixels, that panels above the console must leave free so the splitter and console fit beneath them. Zero while ImageExpanded is set (the console is fully hidden); just enough for the header row while ConsoleOpen is false.
public float ReservedConsoleHeight(float itemSpacingY)
Parameters
itemSpacingYfloatThe current ImGui vertical item spacing.
Returns
- float
The height to reserve at the bottom of the content region.