Re: SetSize doesn't

Bob Swithers <[email protected]> Fri, 7 Jun 2019 16:26:38 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
------=_Part_1104_1621878254.1559949998600
Content-Type: multipart/alternative; 
	boundary="----=_Part_1105_2083215558.1559949998601"

------=_Part_1105_2083215558.1559949998601
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Robin,
     THANK YOU, THANK YOU, THANK YOU!
     I had spent hours on that, getting nowhere =E2=80=A6


On Thursday, June 6, 2019 at 6:01:45 PM UTC-4, Bob Swithers wrote:
>
>    I'm using WxPython 4.0.6, Python 3.7 on Win-10.
>
>    I have many apps that save their frame's size and position upon exit,=
=20
> and restore it upon startup -- so the user's location/size preference is=
=20
> preserved across invocations.    For one app, however, it does not work=
=20
> at all, and SetSize does nothing.  (SetClientSize doesn't either.) =20
> Absolutely no matter what I do, the resulting size is 400, 250 and the=20
> position is always the same.
>
>     What is going on?  Or, how can I figure this out?
>
>      Many thx in advance for any help.
>
> [image: show SetSize doing nothing.JPG]
>
>

--=20
You received this message because you are subscribed to the Google Groups "=
wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/=
wxPython-dev/f54f7494-9925-4b30-a1dd-e6597026565e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

------=_Part_1105_2083215558.1559949998601
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Robin,</div><div>=C2=A0 =C2=A0=C2=A0 THANK YOU, THANK=
 YOU, THANK YOU!</div><div>=C2=A0 =C2=A0=C2=A0 I had spent hours on that, g=
etting nowhere =E2=80=A6</div><div><br></div><br>On Thursday, June 6, 2019 =
at 6:01:45 PM UTC-4, Bob Swithers wrote:<blockquote class=3D"gmail_quote" s=
tyle=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-le=
ft: 1ex;"><div dir=3D"ltr"><div>=C2=A0=C2=A0 I&#39;m using WxPython 4.0.6, =
Python 3.7 on Win-10.</div><div><br></div><div>=C2=A0=C2=A0 I have many app=
s that save their frame&#39;s size and position upon exit, and restore it u=
pon startup -- so the user&#39;s location/size preference is preserved acro=
ss invocations.=C2=A0<span style=3D"display:inline!important;float:none;bac=
kground-color:transparent;color:rgb(34,34,34);font-family:&quot;Arial&quot;=
,&quot;Helvetica&quot;,sans-serif;font-size:13px;font-style:normal;font-var=
iant:normal;font-weight:400;letter-spacing:normal;text-align:left;text-deco=
ration:none;text-indent:0px;text-transform:none;white-space:normal;word-spa=
cing:0px">=C2=A0=C2=A0 For one app, however, it does not work at all, and S=
etSize does nothing.=C2=A0 (SetClientSize doesn&#39;t either.)=C2=A0 Absolu=
tely no matter what I do, the resulting size is 400, 250 and the position i=
s always the same.</span></div><div><span style=3D"display:inline!important=
;float:none;background-color:transparent;color:rgb(34,34,34);font-family:&q=
uot;Arial&quot;,&quot;Helvetica&quot;,sans-serif;font-size:13px;font-style:=
normal;font-variant:normal;font-weight:400;letter-spacing:normal;text-align=
:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:=
normal;word-spacing:0px"><br></span></div><div><span style=3D"display:inlin=
e!important;float:none;background-color:transparent;color:rgb(34,34,34);fon=
t-family:&quot;Arial&quot;,&quot;Helvetica&quot;,sans-serif;font-size:13px;=
font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal=
;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;w=
hite-space:normal;word-spacing:0px">=C2=A0 =C2=A0 What is going on?=C2=A0 O=
r, how can I figure this out?</span></div><div><span style=3D"display:inlin=
e!important;float:none;background-color:transparent;color:rgb(34,34,34);fon=
t-family:&quot;Arial&quot;,&quot;Helvetica&quot;,sans-serif;font-size:13px;=
font-style:normal;font-variant:normal;font-weight:400;letter-spacing:normal=
;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;w=
hite-space:normal;word-spacing:0px"><br></span></div><div><span style=3D"di=
splay:inline!important;float:none;background-color:transparent;color:rgb(34=
,34,34);font-family:&quot;Arial&quot;,&quot;Helvetica&quot;,sans-serif;font=
-size:13px;font-style:normal;font-variant:normal;font-weight:400;letter-spa=
cing:normal;text-align:left;text-decoration:none;text-indent:0px;text-trans=
form:none;white-space:normal;word-spacing:0px">=C2=A0 =C2=A0=C2=A0 Many thx=
 in advance for any help.</span></div><div><b></b><i></i><u></u><sub></sub>=
<sup></sup><strike></strike><br></div><p style=3D"text-align:center;clear:b=
oth"><img width=3D"241" height=3D"320" style=3D"margin-right:1em;margin-lef=
t:1em" alt=3D"show SetSize doing nothing.JPG" src=3D"https://groups.google.=
com/group/wxpython-dev/attach/7d7ae72674ed1/show%20SetSize%20doing%20nothin=
g.JPG?part=3D0.1&amp;view=3D1&amp;authuser=3D0"></p><div><br></div></div></=
blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;wxPython-dev&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">wxPyth=
[email protected]</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/wxPython-dev/f54f7494-9925-4b30-a1dd-e6597026565e%40googlegroups=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/wxPython-dev/f54f7494-9925-4b30-a1dd-e6597026565e%40googlegroups.com</a=
>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

------=_Part_1105_2083215558.1559949998601--

------=_Part_1104_1621878254.1559949998600--