Skip to content

Use a drawing area to display sensor data in text UI style

Ghost User requested to merge (removed):master into master

The previous implementation was utilizing a GtkLabel. A GtkDrawingArea provides slightly more freedom than a GtkLabel when displaying text. This patch improves the formula determining the maximum number of text lines, and prevents the size of the plugin to shrink when, for example, the text oscillates between "1000 rpm" and "999 rpm".

Horizontal: Screenshot_20210724_182026

Vertical: Screenshot_20210724_182035

Deskbar: Screenshot_20210724_182050

Horizontal dark: Screenshot_20210724_182114

Closes: #7 (closed)

Closes: #18 (closed)

Merge request reports