Re: Bitmap button default

Igor Korot <[email protected]> Sun, 14 Jul 2019 18:19:43 -0500
Newsgroups gmane.comp.python.wxglade
Message-ID <CA+FnnTx2UqpQkzPiZg_GmsQJs2MHngEkGvWgN00e2qEUBXpbNA@mail.gmail.com>
Hi, Brendan,

On Sun, Jul 14, 2019 at 6:05 PM Brendan Simon (eTRIX)
<[email protected]> wrote:
>
> On 15/7/19 1:12 am, Dietmar Schwertberger wrote:
>
> On 06.07.2019 07:28, Brendan Simon (eTRIX) wrote:
>
> Now, with this work around of setting the textctrl to have focus, wxglade preview window still has the button with focus, not the textctrl.  I assume this is a bug in wxglade.
>
> When a window has the focus, one input element has the focus and usually it's highlighted.
> I don't see a bug or problem here.
>
> So is it possible to have an app with two buttons and not have any of them highlighted?  (or even just one button with no highlight?).
>
> I think my issue was that the Preview window highlighted the button, even though my textctrl was selected with the Focus (focus checkbox ticked) and the button was not (focus checkbox not ticked).  The app looks correct when compiled and run, but the wxglade Preview did not match that (i.e. the button as highlighted).
>
> If the Preview window is supposed to reflect what the executed application is supposed to look like when run (as much as possible), then there is a discrepancy.
>
> I will revisit it and check again, probably with a simplified test app.

Just curious - in which order did you created the controls?

Thank you.

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