yurisuika / Zehn

A Steam skin based on Windows 10's Metro/Fluent transitional design language.
80 stars 0 forks source link

Download status text has broken formatting #22

Closed legofanlovessayori closed 2 months ago

legofanlovessayori commented 2 months ago

Might be language specific but if steam is set to german the download status text overlaps the main window a bit.

image

yurisuika commented 2 months ago

Ah, it looks like there may be a line wrap here because your language does not fit the fixed pixel spacing... It will require cutting off the text with ellipsis and stopping the overflow. The spacing is fixed because this is actually part of the button to the right, so it has to be a certain per-determined amount to the left and thus of the corresponding size. If I move it out of its parent element with JS, when Steam tries to remove the downloads bar when one has completed, it causes an error because it then cannot find that element, so this has to be the solution. If you'd like to enlarge this element, you would have to also move it farther left.

yurisuika commented 2 months ago

image

So this is just the plain fix doing the cut off... What I can do, however, is add a variable to the config that you can adjust both the width and offset of the downloads bar in one swing.

yurisuika commented 2 months ago

image

Okay, so there we have the config option, it allows you to change the width of the downloads bar. Default is 200px, but you may adjust to as you see fit.