Skip to main content

WINDOW_FRAME_RESIZE_THICKNESS

Constant WINDOW_FRAME_RESIZE_THICKNESS 

Source
pub const WINDOW_FRAME_RESIZE_THICKNESS: f32 = 6.0;
Expand description

Logical-pixel thickness of each resize strip, and the frame’s default.

The same 6 dp gutter the Splitter and the dock resize handle use. It is fixed at every density: the strip is a hit-test-only overlay drawn over the window’s own edge, so widening it would eat into the content rather than into empty space. A coarse pointer reaches it through Widget::hit_outset (24 dp, 44 at Touch) over an unchanged 6 dp visual — see engineering/docs/density-inventory.md and the touch design’s Constants table.