[Goodies-dev] [Bug 14022] New: dual-line output doesn't fit panel
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Mon Nov 20 22:04:50 CET 2017
https://bugzilla.xfce.org/show_bug.cgi?id=14022
Bug ID: 14022
Summary: dual-line output doesn't fit panel
Classification: Panel Plugins
Product: Xfce4-battery-plugin
Version: git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Medium
Component: General
Assignee: goodies-dev at xfce.org
Reporter: fbsd at opal.com
QA Contact: goodies-dev at xfce.org
Target Milestone: ---
For users who set a panel height to less than the default, say to 22px, if the
xfce4-battery-plugin's "Display time" or "Display power" options are selected,
the second of the two lines shown does not fit in the display using the default
font size.
A fix is to add the following to the Gtk 3.20 CSS (where it already sets the
progressbar size):
label { margin-top: -2px; margin-bottom: -3px; }
and to call gtk_style_context_add_provider() for each of the four labels
battmon->charge, battmon->rtime, battmon->acfan and battmon->temp after they
are created. This does not break things for folk using the default panel size,
or a larger panel size.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the Goodies-dev
mailing list