Skip to main content

GPU_INFO_MIN_WIDTH

Constant GPU_INFO_MIN_WIDTH 

Source
pub(crate) const GPU_INFO_MIN_WIDTH: f32 = 160.0;
Expand description

The narrowest the GPU-info panel may be dragged, in points.

A fresh panel opens as wide as its widest fact needs to stay on one line, so this floor is only reached by dragging. Without it a drag could squeeze the panel down to a column of one letter: the facts are wrapped text in a scroll area, so they follow the panel all the way down.