From 792fd531f67a9490f16eb594b4b3eb646128275e Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Fri, 22 Jun 2012 22:58:30 +0000 Subject: "Backport de l'IHM de test7 dans le projet principal. Application licence GPL v3.0 Renommage appli Music2Light (homonymes existants) -> Instru2Light git-svn-id: file:///var/svn/2012-violon-leds/trunk@30 6be1fa4d-33ac-4c33-becc-79fcb3794bb6 --- src/gtkvumeter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gtkvumeter.c') diff --git a/src/gtkvumeter.c b/src/gtkvumeter.c index 34a2038..48e7885 100644 --- a/src/gtkvumeter.c +++ b/src/gtkvumeter.c @@ -208,7 +208,8 @@ static void gtk_vu_meter_size_allocate (GtkWidget *widget, GtkAllocation *alloca if (GTK_WIDGET_REALIZED (widget)) { if (vumeter->vertical == TRUE) { /* veritcal */ gdk_window_move_resize (widget->window, allocation->x, allocation->y, - VERTICAL_VUMETER_WIDTH, MAX(allocation->height, MIN_VERTICAL_VUMETER_HEIGHT)); + //VERTICAL_VUMETER_WIDTH, MAX(allocation->height, MIN_VERTICAL_VUMETER_HEIGHT)); + MAX(VERTICAL_VUMETER_WIDTH,allocation->width), MAX(allocation->height, MIN_VERTICAL_VUMETER_HEIGHT)); } else { /* horizontal */ gdk_window_move_resize (widget->window, allocation->x, allocation->y, MAX(allocation->width, MIN_HORIZONTAL_VUMETER_WIDTH), HORIZONTAL_VUMETER_HEIGHT); -- cgit v1.2.3