Skip to content

List control column header text is not centred vertically #103

@RickyDivjakovski

Description

@RickyDivjakovski

List control column header text is not centred vertically, simple fix for this is adding the following line in DarkModeCS

  1. sf.Alignment = StringAlignment.Center;
  2. sf.LineAlignment = StringAlignment.Center; // < This will align the text vertically
  3. e.Graphics.FillRectangle(backBrush, e.Bounds);
  4. e.Graphics.DrawString(e.Header.Text, lView.Font, foreBrush, e.Bounds, sf);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions