I don’t succeed to modify the size of the main windows of my TCL TK GUI :
But if I type :
package require BWidget
MainFrame .main
-textvariable status
-progressvar prgindic
-progressfg SteelBlue4
-progressmax 100
-progresstype infinite
-width 5000
-height 5000
pack .main -fill both -expand 1
then I have a big windows that is created and this is correct.
But if I add after that all element of my GUI in this windows, then parameters -width and -height of MainFrame procedure seem to be no more used. the windows created is then a medium size. I can still manually resize the gui when it is created but I don’t succeed to create a main windows that has directly the needed size.
If a try to resume what is added in this main windows, there are :
-
a toolbar :
set tb [.main addtoolbar] -
button :
set bbox1 [ButtonBox $tb.bbox1 -spacing 0 -padx 1 -pady 1 -homogeneous 0] -
notebook creation :
set notebook [NoteBook [.main getframe].note -width 5000 -height 5000 -homogeneous 0 -tabbevelsize 4 -arcradius 3 ]
pack $notebook -fill both -expand 1 -side top
and also a lot of stuff inside the notebook are added (frame, etc)
please note that I also added -width and -height parameter in this last procedure (NoteBook) but without success, these parameters are not used.
do you know what could “erase” the size of my GUI ? is there a option in TK that could make my gui to be iself dimensionned and to ignore the -width and -height parameters ?