in reply to Perl/Tk: Issues with external padding

Hi,

It might be easier to help you if you share your reason against setting -padx => 5.

Cheers, Chris

Replies are listed 'Best First'.
Re^2: Perl/Tk: Issues with external padding
by unknown-monk (Novice) on May 13, 2010 at 13:30 UTC
    Looking at this example, it doesn't matter which value -padx has, the padding between the buttons will always be twice as big. If i set padx to 5, the padding between the buttons will be 10.

      Sounds completely reasonable. Each button has an invisible border ("padding") of 10 pixel, so the distance from button to button is 20 pixel. With a padding of 5 pixel per button, you get a distance of 10 pixel.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
        Yes, it sounds reasonable, but at the end it doesn't look good.
        I created a screenshot to better illustrate my situation.

        Screenshot

        The result should be that the distance of the red lines is the same like the green lines.

        Regards,
        unknown-monk