changeset 2966:dd4a213bab66 trunk

fix doublesize
author Tomasz Mon <desowin@gmail.com>
date Mon, 02 Jul 2007 12:40:56 +0200
parents f84d09bada0f
children 53ebe56cb0ac
files src/audacious/ui_skinned_textbox.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_skinned_textbox.c	Mon Jul 02 11:18:25 2007 +0200
+++ b/src/audacious/ui_skinned_textbox.c	Mon Jul 02 12:40:56 2007 +0200
@@ -323,7 +323,7 @@
     priv->move_y = 0;
 
     if (textbox->width != widget->allocation.width) {
-        textbox->width = widget->allocation.width;
+        textbox->width = widget->allocation.width/(priv->double_size ? 2 : 1);
         priv->resize_width = 0;
         priv->resize_height = 0;
         if (priv->pixmap_text) g_free(priv->pixmap_text);