in reply to Re: Changing Buttonsize in MListbox
in thread Changing Buttonsize in MListbox

Well, if you try that I mentioned I do make it thinner! But it's not working for them all buttons, and I dunno why! (well, atleast it's not working directly, when creating the MListbox!, which I want).

Tried inserting my addon to the MListbox.pm? That "18" in height in pixels makes the button thin, when I click or drag in there...

Replies are listed 'Best First'.
Re^3: Changing Buttonsize in MListbox
by rcseege (Pilgrim) on Sep 16, 2005 at 06:59 UTC

    After you have created your MListbox, try adding the following code:

    foreach my $column ($mlistbox->columnGet(0, 'end')) { $column->Subwidget("heading")->configure(-pady => 0); }

    Sometimes, by tweaking the pady option you can get the height you want. Does this give the desired result?

    Rob