Code

Making display narrower
authorjoncruz <joncruz@users.sourceforge.net>
Tue, 10 Apr 2007 05:29:36 +0000 (05:29 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Tue, 10 Apr 2007 05:29:36 +0000 (05:29 +0000)
src/ege-adjustment-action.cpp

index c898cfd7ea03a5bdad913c7a49239c64381bfba0..5e4fcefa3ce7f2508ad0c768eeb45c88cb619b7e 100644 (file)
@@ -746,6 +746,7 @@ static GtkWidget* create_tool_item( GtkAction* action )
         g_signal_connect( G_OBJECT(spinbutton), "value-changed", G_CALLBACK(value_changed_cb), action );
 
         g_signal_connect_swapped( G_OBJECT(spinbutton), "event", G_CALLBACK(event_cb), action );
+        gtk_entry_set_width_chars( GTK_ENTRY(spinbutton), act->private_data->digits + 3 );
 
         gtk_widget_show_all( item );