Re: Can't add slot to a sizer

Dietmar Schwertberger <[email protected]> Sun, 16 Apr 2023 14:13:31 +0200
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============2861157703986320212==
Content-Type: multipart/alternative;
 boundary="------------LitHI7fIhIx8MrubqYAR3M04"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------LitHI7fIhIx8MrubqYAR3M04
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 16.04.2023 05:02, Igor Korot wrote:
> If you try to generate C++ code from that wxg file,
> you will notice that wxStaticText has only 3 parameters,
> but wxComboBox has them all.

StaticText also will have the full set of arguments, once you change the 
style from the default value.

You can simplify your design a lot by using borders instead of spacers.

Regards,

Dietmar

--------------LitHI7fIhIx8MrubqYAR3M04
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 16.04.2023 05:02, Igor Korot wrote:<span
      style="white-space: pre-wrap">
</span></div>
    <blockquote type="cite"
cite="mid:CA+FnnTwy_S=Uaz8rErbsFjvjqMHqDOwqQn6w-GFjTc-aeKRsfw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org">
      <pre class="moz-quote-pre" wrap="">If you try to generate C++ code from that wxg file,
you will notice that wxStaticText has only 3 parameters,
but wxComboBox has them all.
</pre>
    </blockquote>
    <p>StaticText also will have the full set of arguments, once you
      change the style from the default value.</p>
    <p>You can simplify your design a lot by using borders instead of
      spacers.<br>
    </p>
    <p>Regards,</p>
    <p>Dietmar<br>
    </p>
  </body>
</html>

--------------LitHI7fIhIx8MrubqYAR3M04--


--===============2861157703986320212==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============2861157703986320212==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general

--===============2861157703986320212==--