in reply to Tk Pane Pain

One way is to add one line "-width=>20" ( as I did below, when you create your buttons. I tested and looked good to me.

$_->{Button} = $colors_pane->Button (-width => 20,#this is what I added -text => $_->{Name}, -background => $_->{Name}, -foreground => $fg, ); }

BTW, you better make your pane to have less columns, and with no horizontal scroll bar. It is not convenient for the user to scroll both ways.

Replies are listed 'Best First'.
Re^2: Tk Pane Pain
by NateTut (Deacon) on Nov 11, 2004 at 17:58 UTC
    Thanks, the width on the buttons helped. Doug