added some padding for the shadow frame to avoid scaling the thumbnail.
2004-09-27 Sven Neumann <sven@gimp.org> * app/widgets/gimpthumbbox.c (gimp_thumb_box_new): added some padding for the shadow frame to avoid scaling the thumbnail.
This commit is contained in:
parent
e29c3cd230
commit
fadd9ca045
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2004-09-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimpthumbbox.c (gimp_thumb_box_new): added some
|
||||
padding for the shadow frame to avoid scaling the thumbnail.
|
||||
|
||||
2004-09-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* themes/Default/images/Makefile.am
|
||||
|
|
|
|||
|
|
@ -344,7 +344,9 @@ gimp_thumb_box_new (Gimp *gimp)
|
|||
box);
|
||||
|
||||
box->preview = gimp_view_new (GIMP_VIEWABLE (box->imagefile),
|
||||
gimp->config->thumbnail_size, 0, FALSE);
|
||||
/* add some padding here for the shadow frame */
|
||||
gimp->config->thumbnail_size + 16,
|
||||
0, FALSE);
|
||||
gtk_box_pack_start (GTK_BOX (hbox), box->preview, TRUE, FALSE, 10);
|
||||
gtk_widget_show (box->preview);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue