how to resize mega widgets
Martin Franklin
MFranklin1 at gatwick.westerngeco.slb.com
Thu Mar 20 15:07:48 EST 2003
student wrote:
> sorry if this is somewhere in the docs .. .but i just can't find it
>
> i'm creating a Pmw.TextDialog and i can figure out how to change the
> default size of the text window inside, i create it as follows:
>
> self.dialog = Pmw.TextDialog(parent, scrolledtext_labelpos = 'n',
> title = title,
> defaultbutton = 0,
> label_text = label,
> hull_width = 100,
> hull_height = 150)
>
use text_height (in number of lines) and text_width (in number of chars.)
More information about the Python-list
mailing list