Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-23 Thread Wayne Stambaugh
On 5/23/2013 3:14 PM, Lorenzo Marcantonio wrote: > On Thu, May 23, 2013 at 01:39:22PM -0400, Wayne Stambaugh wrote: >> Control layout in wxWidgets is sizer based which makes it more like GTK >> than Windows RC files. The wxWidgets sizers do behave differently than >> GTK sizers so it takes some ge

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-23 Thread Lorenzo Marcantonio
On Thu, May 23, 2013 at 01:39:22PM -0400, Wayne Stambaugh wrote: > Control layout in wxWidgets is sizer based which makes it more like GTK > than Windows RC files. The wxWidgets sizers do behave differently than > GTK sizers so it takes some getting used to. Exactly. For example the button which

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-23 Thread Wayne Stambaugh
On 5/23/2013 1:26 PM, Lorenzo Marcantonio wrote: > On Thu, May 23, 2013 at 12:40:46PM -0400, Wayne Stambaugh wrote: >> I took a look at this patch and it looks pretty good. I had to tweak >> the border and the proportion settings of some of the controls to get >> them to align properly with the re

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-23 Thread Wayne Stambaugh
On 5/23/2013 1:26 PM, Lorenzo Marcantonio wrote: > On Thu, May 23, 2013 at 12:40:46PM -0400, Wayne Stambaugh wrote: >> I took a look at this patch and it looks pretty good. I had to tweak >> the border and the proportion settings of some of the controls to get >> them to align properly with the re

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-23 Thread Lorenzo Marcantonio
On Thu, May 23, 2013 at 12:40:46PM -0400, Wayne Stambaugh wrote: > I took a look at this patch and it looks pretty good. I had to tweak > the border and the proportion settings of some of the controls to get > them to align properly with the rest of the dialog controls. Also, you The dialog edit

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-23 Thread Dick Hollenbeck
Thank you Lorenzo. Dick On May 23, 2013 11:40 AM, "Wayne Stambaugh" wrote: > On 5/22/2013 2:36 PM, Lorenzo Marcantonio wrote: > > On Wed, May 22, 2013 at 06:36:27PM +0200, Lorenzo Marcantonio wrote: > >> On Wed, May 22, 2013 at 06:23:02PM +0200, jp charras wrote: > >>> Try to use the option wxB

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-23 Thread Wayne Stambaugh
On 5/22/2013 2:36 PM, Lorenzo Marcantonio wrote: > On Wed, May 22, 2013 at 06:36:27PM +0200, Lorenzo Marcantonio wrote: >> On Wed, May 22, 2013 at 06:23:02PM +0200, jp charras wrote: >>> Try to use the option wxBU_EXACTFIT for the button style. > > Thanks, it worked as desired. > > The patch appl

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-22 Thread Lorenzo Marcantonio
On Wed, May 22, 2013 at 06:36:27PM +0200, Lorenzo Marcantonio wrote: > On Wed, May 22, 2013 at 06:23:02PM +0200, jp charras wrote: > > Try to use the option wxBU_EXACTFIT for the button style. Thanks, it worked as desired. The patch applies cleanly and compile against 4159 -- Lorenzo Marcantoni

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-22 Thread Lorenzo Marcantonio
On Wed, May 22, 2013 at 06:23:02PM +0200, jp charras wrote: > Try to use the option wxBU_EXACTFIT for the button style. OK I'll try that and also regen the patch -- Lorenzo Marcantonio Logos Srl ___ Mailing list: https://launchpad.net/~kicad-developer

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-22 Thread jp charras
Le 21/05/2013 18:16, Lorenzo Marcantonio a écrit : ... The dialog layout could be better... I don't know why the button is so big for only two characters in it; suggestions on how to fix the layout will be appreciated (this is my first UI work with wx...) Try to use the option wxBU_EXACTFIT for

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-22 Thread Wayne Stambaugh
On 5/21/2013 12:16 PM, Lorenzo Marcantonio wrote: > On Sun, May 19, 2013 at 08:20:18PM +0200, Lorenzo Marcantonio wrote: >> The native control uses the numeric format; it's easily tried using the >> samples/widget demo in the wx distribution (and BTW it only supports the >> default format, trying a

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-21 Thread Lorenzo Marcantonio
On Sun, May 19, 2013 at 08:20:18PM +0200, Lorenzo Marcantonio wrote: > The native control uses the numeric format; it's easily tried using the > samples/widget demo in the wx distribution (and BTW it only supports the > default format, trying a change triggers an asserts) Here, second try: as plan

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-19 Thread Lorenzo Marcantonio
On Sun, May 19, 2013 at 12:09:42PM -0400, Wayne Stambaugh wrote: > Yes. It's possible that I misunderstood the documentation. Also, > I'm not sure if on GTK+ that the native control or the generic > control is used so that could also impact the behavior. Sometimes > the only way to know for sure

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-19 Thread Wayne Stambaugh
On 5/19/2013 1:51 AM, Lorenzo Marcantonio wrote: On Sat, May 18, 2013 at 04:56:11PM -0400, Wayne Stambaugh wrote: Would a wxDatePickerCtrl be a better option than a "today" button? According to the wxWidgets 2.8 documentation the native version always returns the current system locale which is p

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-18 Thread Lorenzo Marcantonio
On Sat, May 18, 2013 at 04:56:11PM -0400, Wayne Stambaugh wrote: > Would a wxDatePickerCtrl be a better option than a "today" button? > According to the wxWidgets 2.8 documentation the native version > always returns the current system locale which is probably what the I fear there was a misunders

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-18 Thread Wayne Stambaugh
On 5/18/2013 11:46 AM, Lorenzo Marcantonio wrote: On Sat, May 18, 2013 at 06:50:29AM -0500, Dick Hollenbeck wrote: What about an additional button in the dialog, like one of those [...] buttons you see next to a file entry field, but this one next to date. When clicked it stuffs current date int

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-18 Thread Lorenzo Marcantonio
On Sat, May 18, 2013 at 11:43:29AM -0500, Dick Hollenbeck wrote: > You have done the research. > I am not informed on the details. I would probably look into busybox > "date" source for ideas. Well, busybox 'delegates' the issue: /* This 'date' command supports only 2 time setting formats, al

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-18 Thread Dick Hollenbeck
On May 18, 2013 10:46 AM, "Lorenzo Marcantonio" wrote: > > On Sat, May 18, 2013 at 06:50:29AM -0500, Dick Hollenbeck wrote: > > What about an additional button in the dialog, like one of those [...] > > buttons you see next to a file entry field, but this one next to date. > > When clicked it stuf

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-18 Thread Lorenzo Marcantonio
On Sat, May 18, 2013 at 06:50:29AM -0500, Dick Hollenbeck wrote: > What about an additional button in the dialog, like one of those [...] > buttons you see next to a file entry field, but this one next to date. > When clicked it stuffs current date into field. > ? That would be easy to do (a 'Toda

Re: [Kicad-developers] Patch for hand-modifiable issue date

2013-05-18 Thread Dick Hollenbeck
What about an additional button in the dialog, like one of those [...] buttons you see next to a file entry field, but this one next to date. When clicked it stuffs current date into field. ? On May 18, 2013 6:23 AM, "Lorenzo Marcantonio" wrote: > > As discussed before, this add *manual* date cha

[Kicad-developers] Patch for hand-modifiable issue date

2013-05-18 Thread Lorenzo Marcantonio
As discussed before, this add *manual* date changing in both eeschema and pcbnew. I simply added a field in the page box and removed what remained active of the automatic date change machinery. The I/O part was actually already there (commented out). This helps who need to handle the document date