# -Q2.D.1- resize a listbox?

    From: -II-  Tk Questions and Answers - How can I:

    A2.D.1. Use wm min/maxsize - in a uniform manner.  Here is a resizable listbox:

            #!/usr/local/bin/wish -f
            wm minsize . 20 20
            wm maxsize . 1152 900
            pack append . [listbox .l -borderwidth 2 -relief raised] {expand fill}

    Doing the same with the text widget brings its resizing under control too.

    Thanks to "John C Ellson" <ellson@ontap.att.com).

Parent document is top of "FAQ: comp.lang.tcl Tk Toolkit Usage Questions And Answers (1/1)"
Previous document is "-Q2.C.10- ignore "send"s from other applications?"
Next document is "-Q2.D.2- select two items that are not adjacent in the listbox at one time?"