Advanced Search
Mail us
Home    Manuel    Links    Faq    Submit a tcl/tk Reference    Contact Us

    Some examples tcl/tk codes     Man of Bwidget     Man of blt     mkwidget screenshots     TkOgl     Video Demo real.

  How can I vertically align radio/check buttons regardless of font?
 Note the following example:

radiobutton .times -text Times -anchor w -value Times
radiobutton .helvetica -text Helvetica -anchor w -value Helvetica
radiobutton .courier -text Courier -anchor w -value Courier
pack .times .helvetica .courier -side top -fill x

Note that you are using anchor west in the widgets themselves, and not
in the packer.  This lets the packer produce full width buttons.