Pasma rc settings for window decoration theme

Edit: Title should say “Plasma”…

One of the WD I like to use, aurora seven, has an ugly thin line crossing the title bar text on 4K monitors. On Full HD and lesser monitors this doesn’t happen.

Also, when the windows is maximized the line goes away. I think it is a problem in the margins settings. If I mess with the rc file ~/.local/share/aurorae/themes/seven I can change these settings and, after resetting the theme, see the difference.

But it seems I can’t find the specific margin settings combination that will do the trick. I’ve searched kde.org for documentation but it seems to be lacking.

The relevant settings are in the Layout section:

[Layout]
BorderBottom=8
BorderLeft=8
BorderRight=8
BorderTop=0
ButtonHeight=20
ButtonMarginTop=0
ButtonSpacing=0
ButtonWidth=27
ButtonWidthAlldesktops=28
ButtonWidthClose=52
ButtonWidthHelp=28
ButtonWidthKeepabove=28
ButtonWidthKeepbelow=28
ButtonWidthMaximizeRestore=27
ButtonWidthMenu=20
ButtonWidthMinimize=27
ButtonWidthShade=28
ExplicitButtonSpacer=3
PaddingBottom=12
PaddingLeft=12
PaddingRight=12
PaddingTop=12
TitleBorderLeft=5
TitleBorderRight=5
TitleEdgeBottom=3
TitleEdgeBottomMaximized=3
TitleEdgeLeft=6
TitleEdgeLeftMaximized=0
TitleEdgeRight=6
TitleEdgeRightMaximized=0
TitleEdgeTop=1
TitleEdgeTopMaximized=1
TitleHeight=27

Sure I can test various combinations, possibly temporarily breaking my windows in the process, but I’d like to avoid this.

So, is there some information on these parameters, or anyone know how to configure them?

Thanks,

Bruno

For the record, this is a not-so-good solution to move the line off the txt (changes in bold):

[Layout]
BorderBottom=8
BorderLeft=8
BorderRight=8
BorderTop=8
ButtonHeight=20
ButtonMarginTop=**5**
ButtonSpacing=0
ButtonWidth=27
ButtonWidthAlldesktops=28
ButtonWidthClose=52
ButtonWidthHelp=28
ButtonWidthKeepabove=28
ButtonWidthKeepbelow=28
ButtonWidthMaximizeRestore=27
ButtonWidthMenu=20
ButtonWidthMinimize=27
ButtonWidthShade=28
ExplicitButtonSpacer=3
PaddingBottom=12
PaddingLeft=12
PaddingRight=12
PaddingTop=**2**
TitleBorderLeft=5
TitleBorderRight=5
TitleEdgeBottom=3
TitleEdgeBottomMaximized=3
TitleEdgeLeft=6
TitleEdgeLeftMaximized=0
TitleEdgeRight=6
TitleEdgeRightMaximized=0
TitleEdgeTop=1
TitleEdgeTopMaximized=1
TitleHeight=**24**