The source project of this merge request has been removed.
Use a drawing area to display sensor data in text UI style
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".
Closes: #7 (closed)
Closes: #18 (closed)