pub(crate) const GPU_INFO_MAX_WIDTH_FRACTION: f32 = 0.85;Expand description
The share of the window’s width the GPU-info panel may take, at most.
The panel takes its opening width from its content, and a device can name a limit that is longer than the window is wide. This keeps such a panel from hanging off the edge and leaves the scene visible beside it; a name that still does not fit wraps, and the panel may be dragged wider by hand.