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.
Nobody/Anonymous
None
None
Public
|
Date: 2011-12-24 06:54:12 PST Patch committed in lxpanel git master. Thanks for your contribution :) |
|
Date: 2010-11-03 21:01:37 PDT I realised that this method didn't actually center the label's text |
| Filename | Description | Download |
|---|---|---|
| center_clock_text.patch | Patch which allows text centering | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Deleted | 392183: | 2010-11-03 21:02:35 PDT | inductiveload |
| File Added | 392184: center_clock_text.patch | 2010-11-03 21:02:17 PDT | inductiveload |
| File Added | 392183: center_clock_text.patch | 2010-11-03 21:02:10 PDT | inductiveload |
| File Deleted | 392181: | 2010-11-03 20:59:04 PDT | inductiveload |
| File Added | 392181: center_clock_text.patch | 2010-11-03 20:44:17 PDT | inductiveload |