[PATCH] Re: List View Zoom
- From: David Emory Watson <dwatson cs ucr edu>
- To: Dave Bordoley <bordoley msu edu>
- Cc: Nils Pedersen <n p sun com>, nautilus-list gnome org
- Subject: [PATCH] Re: List View Zoom
- Date: 03 May 2002 19:17:11 -0400
On Fri, 2002-05-03 at 12:43, Dave Bordoley wrote:
> Thats not quite what i was saying. My point was that at 100% zoom, the
> text should use the default system font size, but perhaps reduce the
> zoom of the icons to 50 or 75 percent, but not tell anyone it's doing
> this :)
If we're gonna lie, I'd rather lie about the font size. :)_
This patch changes the font for the 50% zoom level (which btw is the
default for the list view) so that it looks like a "normal" unzoomable
list. It also biases the font changes so that they have more effect at
the higher zoom levels than the lower zoom levels. This way text should
be readable at all levels.
Could you try the attached patch and see if you like it better?
Index: ./src/file-manager/fm-list-view.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/fm-list-view.c,v
retrieving revision 1.169
diff -p -u -r1.169 fm-list-view.c
--- ./src/file-manager/fm-list-view.c 2 May 2002 23:03:29 -0000 1.169
+++ ./src/file-manager/fm-list-view.c 3 May 2002 22:43:16 -0000
@@ -529,9 +529,11 @@ fm_list_view_set_zoom_level (FMListView
NautilusZoomLevel new_level,
gboolean always_set_level)
{
- static double pango_scale[7] = { PANGO_SCALE_XX_SMALL, PANGO_SCALE_X_SMALL, PANGO_SCALE_SMALL,
- PANGO_SCALE_MEDIUM,
- PANGO_SCALE_LARGE, PANGO_SCALE_X_LARGE, PANGO_SCALE_XX_LARGE };
+ static double pango_scale[7] = { PANGO_SCALE_SMALL,
+ PANGO_SCALE_MEDIUM, PANGO_SCALE_MEDIUM,
+ PANGO_SCALE_LARGE, PANGO_SCALE_LARGE,
+ PANGO_SCALE_X_LARGE,
+ PANGO_SCALE_XX_LARGE };
int icon_size;
int column;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]