← Back to team overview

kicad-developers team mailing list archive

Re: page settings dialog "(N..." button

 

Ok I found out that it's "N..." for "None". This is because the
wxFilePickerCtrl is constructed with the initial file as wxEmptyString. If
a file is specified, then the name of that file will appear instead on the
button - but not in the wxTextCtrl besides it.

I then upgraded wxWidgets from 2.8 (Ubuntu repository) to 2.9.5,
recompiled, and got the "Browse" button, as shown in the first screenshot.

Now there's another option too. We can use the wxFLP_SMALL flag, which will
replace the "Browse" by "...". The wxTextCtrl then gets larger, as shown in
the second screenshot.

Personally, I would not do anything about it since the newer wxWidgets
fixes it, and that "Browse" speaks more than three dots. What are your
thoughts?

Carl

On Wed, Aug 7, 2013 at 4:11 AM, Lorenzo Marcantonio <
l.marcantonio@xxxxxxxxxxxx> wrote:

> On Wed, Aug 07, 2013 at 08:14:42AM +0200, jp charras wrote:
> > I also see the 'Browse' text ( Ubuntu 10.04, KDE, wxWidgets 2.9.5)
> > And the widget used in dialog is a wxFilePickerCtrl, which manages
> > both the wxTextCtrl and the button.
>
> I vote for YAWBO (yet another wx build option) or whatever:P it seems
> that wx is the new java (write once, test everywhere), I'm liking it
> more and more less (requiring C++ was a big minus anyway for me)
>
> Who cares, most probably it can simply be fixed in the form editor...
>
> For the records wx 2.9.4, gtk 2.24.10/3.2.2 (I don't know which uses)
> and no desktop environment, here.
>
> --
> Lorenzo Marcantonio
> Logos Srl
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>

Attachment: wxWidgets_294.png
Description: PNG image

Attachment: wxFLP_SMALL.png
Description: PNG image


Follow ups

References