Alexandru <
alexandr...@meshparts.de> writes:
> Am Montag, 14. September 2015 15:56:05 UTC+2 schrieb Gerald W. Lester:
> > On 9/14/15 5:52 AM, Juge wrote:
> > > I have a problem with my toplevel windows. I want to get resizable windows, which I do get, only with one Tcl or another the window starts with too small size.
> > > I tried including geometry option and it causes the window to start at current size but it immediately shrinks again after the program is really running.
> > >
> > > If I use resizable 0 0 option the initial window size is ok am I missing something?
> >
> > Take a look at: wm minsize
> >
> I'm not sure if this is what Juge means, but my problem is at least similar (wm minsize is not the solution).
>
> My application starts maximized (Windows). When I click on the main windows Restore button (next to the close button), the main window gets very very small, so I have to drag the corner to make it bigger.
>
> I know wm minsize, but that is not what I want. I just want the the Restore button leads to a window that is bigger than the default, while I can still make the window smaller if I want.
That sounds like the initial default 100x100 windowe size is retained because
the initial resizing done by Tk never has to change the size of a full-screen
window. I'll have to try it myself.
--
Donald Arseneau
as...@triumf.ca