The trigger dialog wasn't showing anything (channel select, note select,
etc.) making it pretty unusable.

Looking at the code, all the -9999's for vpadding in trigger_ui.cc
(starting at line 123) seem to be making everything disappear.  New
version of gtkmm has a different behaviour maybe?

Anyway, I changed the -9999's to 5, the same as the horizontal padding,
and it looks fine to me (not to mention actually now works)

Patch attached, same goofy format as the last one

-DR-
--- trigger_ui.cc.old	2004-07-15 20:25:16.000000000 -0400
+++ trigger_ui.cc	2004-07-15 20:19:57.000000000 -0400
@@ -122,25 +122,25 @@
 
 	Gtkmmext::set_usize_to_display_given_text 
 		(*portSelector.get_entry(),
-		 SequencerUI::longest_port_string, 5, -9999);
+		 SequencerUI::longest_port_string, 5, 5);
 
 	Gtkmmext::set_usize_to_display_given_text 
-		(channelSelector, "16", 5, -9999);
+		(channelSelector, "16", 5, 5);
 
 	Gtkmmext::set_usize_to_display_given_text 
 		(*controllerSelector.get_entry(),
-		 SequencerUI::longest_controller_string, 5, -9999);
+		 SequencerUI::longest_controller_string, 5, 5);
 	
 	Gtkmmext::set_usize_to_display_given_text 
 		(*typeSelector.get_entry(),
-		 longest_type_string, 5, -9999);
+		 longest_type_string, 5, 5);
 
 	Gtkmmext::set_usize_to_display_given_text 
 		(*sourceSelector.get_entry(),
-		 longest_source_string, 5, -9999);
+		 longest_source_string, 5, 5);
 
 	Gtkmmext::set_usize_to_display_given_text 
-		(valueSelector, "127", 5, -9999);
+		(valueSelector, "127", 5, 5);
 
 	show_all ();
 

Reply via email to