Compartilhar via


CMFCRibbonPanel::SetJustifyColumns

Enables or disables the adjustment of the width of ribbon elements in the same column.

void SetJustifyColumns(
    BOOL bSet = TRUE
);

Parameters

  • [in] bSet
    TRUE to adjust the width of ribbon elements in the same column to the width of the largest ribbon element in the column; FALSE to disable this width adjustment.

Remarks

When this feature is enabled in a ribbon panel, the widths of ribbon elements in the same column are adjusted to the width of the largest ribbon element in the same column.

Requirements

Header: afxRibbonPanel.h

See Also

Reference

CMFCRibbonPanel Class

Hierarchy Chart