diff options
author | Suman Manjunath <msuman@src.gnome.org> | 2008-07-07 16:50:34 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2008-07-07 16:50:34 +0800 |
commit | 1fe74f379d97c06001ba47c782f736b8ff42146f (patch) | |
tree | fc76805202382e5b535eaedbbfcbcc733264c4a4 /widgets/misc/e-calendar-item.h | |
parent | d9bf503861934651c02ee0932ae0f0d3e58308e0 (diff) | |
download | gsoc2013-evolution-1fe74f379d97c06001ba47c782f736b8ff42146f.tar.gz gsoc2013-evolution-1fe74f379d97c06001ba47c782f736b8ff42146f.tar.zst gsoc2013-evolution-1fe74f379d97c06001ba47c782f736b8ff42146f.zip |
Fix for bug #370731 (bugzilla.novell.com): Use MAX (<max width of day-names>, (2 * <max width of a digit>)) to determine the minimal size for each cell. This prevents the numbers and day-names from getting fuzzy when using large font-sizes.
svn path=/trunk/; revision=35731
Diffstat (limited to 'widgets/misc/e-calendar-item.h')
-rw-r--r-- | widgets/misc/e-calendar-item.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/misc/e-calendar-item.h b/widgets/misc/e-calendar-item.h index 843d531c05..42efd5358f 100644 --- a/widgets/misc/e-calendar-item.h +++ b/widgets/misc/e-calendar-item.h @@ -218,10 +218,12 @@ struct _ECalendarItem /* Widths of the day characters. */ gint day_widths[7]; + gint max_day_width; /* Widths of the digits, '0' .. '9'. */ gint digit_widths[10]; gint max_digit_width; + gint week_number_digit_widths[10]; gint max_week_number_digit_width; |