Zren / plasma-applet-githubissues

https://store.kde.org/p/1271237/
25 stars 5 forks source link

[Suggestion] Display the heading more fully #4

Closed trmdi closed 5 years ago

trmdi commented 5 years ago

For example, display the repo name in a new line, or use a smaller fontsize... Anyhow, I think it need to be more responsive.

image

Finally, I just want to say: your applet looks very nice !

Zren commented 5 years ago

Yeah, long names don't mesh well with the thin width. I could use fontSizeMode: Text.Fit instead of an ellipsis. the heading size would differ between side by side widgets though.

Hmm, looks like I'm not scaling by dpi, oops.

It's currently 24px, which I chose randomly it seems.

Here's what it looks like with 18px on the left, and demonstrates that it'll still cutoff really long entries when it hits... the minimum font size? In any case, the master branch currently shows a tooltip on hover when text text is truncated.

2018-11-13___22-05-02

I plan on making the heading configurable eventually. I'm considering having a single widget list issues from multiple repos like my bugzilla widget, so we'll need to have the ability to customize the heading.

Zren commented 5 years ago

The 18px font size change is in the v3 release.