← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] eeschema: neatly wrap placeholder text in symbol chooser

 

I tested it on linux, seemed to work fine.

Den 6. jan. 2018 1.45 PM skrev "Wayne Stambaugh" <stambaughw@xxxxxxxxx>:

> Hey Chris, I saw.  I just haven't gotten around to testing it yet.  I'm
> drowning in the current patch volume.  I'm going to try to get caught up
> over the weekend.
>
> On 01/05/2018 09:51 PM, Chris Pavlina wrote:
> > Hey Wayne, did you see this? I'm pretty confident it's ready to push but
> > I'd like a second opinion on finding a good place for the function I had
> > to write.
> >
> > On Thu, Jan 04, 2018 at 01:55:08AM +0000, Chris Pavlina wrote:
> >> Hi,
> >>
> >> The placeholder text that was added to the symbol preview in the chooser
> >> ("double-click here...") has a manually placed line break, making it
> >> flow poorly anywhere the line length doesn't work well --- on my system
> >> with my DPI setting and fonts the line is cut off at almost any
> >> non-ridiculous window sizing. I wrote a small function to wrap text
> >> drawn to a wxDC to fix that.
> >>
> >> I just added this as a static function near where it's used, but if
> >> there's a better place to stick "miscellaneous wxDC helpers" please
> >> advise and I'll move it; I couldn't find a decent spot.
> >>
> >> --
> >> Chris
> >
> >
> > _______________________________________________
> > 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
> >
>
> _______________________________________________
> 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