Skip to main content

RESIZE_HANDLE_WIDTH

Constant RESIZE_HANDLE_WIDTH 

Source
pub const RESIZE_HANDLE_WIDTH: f32 = 4.0;
Expand description

Half-width of a column’s resize grip on the header strip.

The grabbable band is centred on the divider and reaches this far into the cell on each side of it — 8 dp total, the same PM_HeaderGripMargin convention QHeaderView uses. A one-sided band would leave the outer half of every divider owned by the neighbouring cell’s label, where a grab that missed by a pixel cycles the sort or starts a column-reorder drag instead.