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.
Oh, should say that this problem happens on both FreeBSD and Ubuntu.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-battery-plugin/-/issues/11. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev