#366 Centering of the dClock text in vertical panels


When the panel is vertical (i.e. stuck to the left or right of the screen), the clock is unattractively left-aligned. By changing the gtk label to be expanding, it centers the text, resulting in a much neater looking clock, especially when there are multiple lines.

This has no effect when the panel is horizontal (top or bottom) since the applet is constrained by those around it.


  • inductiveload

    inductiveload - 2010-11-04

    I realised that this method didn't actually center the label's text _within_ the label, it just centered the label in the HBox, so I added a configuration option for text centering within the label, since I guess some people would want left aligned text when they have a horizontal panel.

  • gilir

    gilir - 2011-12-24

    Patch committed in lxpanel git master. Thanks for your contribution :)


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks