Re: wxButton wxBU_NOTEXT sytle

Igor Korot <[email protected]> Sun, 30 Jun 2019 19:44:52 -0500
Newsgroups gmane.comp.python.wxglade
Message-ID <CA+FnnTzaySYo26U5PSG2boNRdpoaBtAQhY0V=xfKcc6pmWC71w@mail.gmail.com>
Hi, Brendan,

On Sun, Jun 30, 2019 at 5:20 PM Brendan Simon (eTRIX)
<[email protected]> wrote:
>
> It seems the wxBU_NOTEXT style doesn't seem to be reflected in the Design or Preview windows.

What OS you are under and what version of wxGlade you are using?

Thank you.

>
> I have 5 buttons, and each is using one of the predefined Stockitem choices (e.g. UP, DOWN, FORWARD, BACKWARD and HOME), which also gives them predefined IDs.
>
> Each button has a bitmap associated with it too and I have checked the wxBU_EXACTFIT option and wxBU_NOTEXT.
>
> Without the NOTEXT option, text is displayed in the button (to the right of the bitmap).  With the NOTEXT option selected, the text does not show - only the bitmap (which is what I want).
>
> However the Preview window in wxglade shows the text regardless (which is not representative of what the final display would look like).
>
> And strangely, in the Design window 4 buttons show the text, and 1 button does not (I can't figure that one out).
>
> Brendan.
>
> _______________________________________________
> wxGlade-general mailing list
> wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/wxglade-general