Fix QHeaderView column margins with arrows.

Fixes #31. Sets `-5em` left and right margins as a hack to ensure that
the headers are properly spaced.
main
Alex Huszagh 2022-04-27 18:18:58 -05:00
parent 102976f25f
commit e54c825b90
6 changed files with 3819 additions and 3798 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1797,6 +1797,8 @@ QHeaderView::down-arrow
width: 0.8em;
height: 0.5em;
/* Workaround for Qt6. See issue #31 .*/
margin-left: -5em;
margin-right: -5em;
margin-bottom: -0.5em;
}
@ -1809,6 +1811,8 @@ QHeaderView::up-arrow
width: 0.8em;
height: 0.5em;
/* Workaround for Qt6. See issue #31 .*/
margin-left: -5em;
margin-right: -5em;
margin-bottom: -0.5em;
}

View File

@ -1797,6 +1797,8 @@ QHeaderView::down-arrow
width: 0.8em;
height: 0.5em;
/* Workaround for Qt6. See issue #31 .*/
margin-left: -5em;
margin-right: -5em;
margin-bottom: -0.5em;
}
@ -1809,6 +1811,8 @@ QHeaderView::up-arrow
width: 0.8em;
height: 0.5em;
/* Workaround for Qt6. See issue #31 .*/
margin-left: -5em;
margin-right: -5em;
margin-bottom: -0.5em;
}

View File

@ -1797,6 +1797,8 @@ QHeaderView::down-arrow
width: 0.8em;
height: 0.5em;
/* Workaround for Qt6. See issue #31 .*/
margin-left: -5em;
margin-right: -5em;
margin-bottom: -0.5em;
}
@ -1809,6 +1811,8 @@ QHeaderView::up-arrow
width: 0.8em;
height: 0.5em;
/* Workaround for Qt6. See issue #31 .*/
margin-left: -5em;
margin-right: -5em;
margin-bottom: -0.5em;
}

View File

@ -1797,6 +1797,8 @@ QHeaderView::down-arrow
width: 0.8em;
height: 0.5em;
/* Workaround for Qt6. See issue #31 .*/
margin-left: -5em;
margin-right: -5em;
margin-bottom: -0.5em;
}
@ -1809,6 +1811,8 @@ QHeaderView::up-arrow
width: 0.8em;
height: 0.5em;
/* Workaround for Qt6. See issue #31 .*/
margin-left: -5em;
margin-right: -5em;
margin-bottom: -0.5em;
}

View File

@ -1797,6 +1797,8 @@ QHeaderView::down-arrow
width: 0.8em;
height: 0.5em;
/* Workaround for Qt6. See issue #31 .*/
margin-left: -5em;
margin-right: -5em;
margin-bottom: -0.5em;
}
@ -1809,6 +1811,8 @@ QHeaderView::up-arrow
width: 0.8em;
height: 0.5em;
/* Workaround for Qt6. See issue #31 .*/
margin-left: -5em;
margin-right: -5em;
margin-bottom: -0.5em;
}