kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #30386
Re: [PATCH] Change track width setting to dropbox
Rather than add a wxComboBox to the WX_UNIT_BINDER object, wouldn't be
be cleaner to change wxTextCtrl* to wxTextEntry* which wxComboBox and
wxTextCtrl (along with several others) are derived from?
On 8/21/2017 4:09 PM, Mathias Grimmberger wrote:
>
> Hi all,
>
> I think it would be nice if the track width setting in the track
> properties dialog used a combobox, so one could either enter a free value
> or select one of the values set up in the design rules.
>
> The appended patch implements this.
>
> Question1: I had to extend WX_UNIT_BINDER to also accept a wxComboBox,
> maybe it would be better to split it into two classes?
>
> Question2: the dropdown also contains the netclass width, since this is
> somewhat redundant should it be removed?
>
> Something similar could also be done in the via properties for the
> via/drill diameter if there is interest.
>
>
> Have fun,
>
> MGri
>
>
>
>
> _______________________________________________
> 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
>
Follow ups
References