[Qgis-developer] Composer redesign

Andreas Neumann a.neumann at carto.net
Mon Feb 6 09:19:19 EST 2012


 Hi James,

 I came across the same solution to the problem - but I think it is 
 cumbersome and it should be fixed in the legend item. Every time the 
 legend changes in size you would have to manually adjust the box ...

 Andreas

 On Mon, 6 Feb 2012 13:48:16 -0000, James Stott wrote:
> Nathan that would be really good if you could take a look at whether
> multi line item labels are possible.
>
> That does do it for 2 but it then reverts back to what it was
> originally if you update the layer in the legend doesn’t it or have I
> missed something?
>
> I want to be able to update all legend items in one go and not have
> to tweak the legend text each time. Clients can be very good at
> changing the styles a lot (even when a map is pretty much finished)
> and if I update then I have to change the text again in the legend.
> It's very easy to forget to make the legend as it was before you
> updated it to reflect the style change.
>
> Andreas, I use the following workaround for the 'Legend' Title text 
> issue.
>
> 1) Place a rectangle on your composer as the boundary of your legend 
> area.
> 2) Place a legend within the rectangle
> 3) For the legend, delete the text 'Legend'
> 4) On General Options for the legend, set it to have no frame and
> make it completely opaque (slide the opacity slider right to the
> left).
> 5) Then realign your legend on the composer so that the top item in
> the legend is just below the frame of the rectangle.
>
> This will then make it look like there isn't a gap at the top of the 
> legend.
>
> James
>
>
> James Stott BSc (Hons) MSc | Senior Professional
> Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
> T: 01225 445548 | M: -
> http://www.npaconsult.co.uk/
>
> -----Original Message-----
> From: qgis-developer-bounces at lists.osgeo.org
> [mailto:qgis-developer-bounces at lists.osgeo.org] On Behalf Of Andreas
> Neumann
> Sent: 06 February 2012 13:38
> To: qgis-developer at lists.osgeo.org
> Subject: Re: [Qgis-developer] Composer redesign
>
>> For 2) I normally just delete the text in the Legend Items tab for
>> each item I don't want to show including layer names or group names.
>>  Does this do what you need? or have I missed something.
>
>  At least with the "Title" you also have to set the font to something
>  really small (1pt), otherwise you would still get an empty row at 
> the
>  top of the legend. This is obvious if you also use a frame around 
> the
>  legend. Event with setting the font-very small you would still get 
> more
>  margin on top of the legend than on the bottom or the sides.
>
>  For the groups or layernames - yes, you can delete them manually. 
> But
>  it would be more handy if one could suppress all of them with a
>  checkbox. Whereas for groups and layers there is a manual 
> workaround,
>  for the "Title" there is no satisfying workaround in my opinion.
>
>  Andreas
>
>
> --
>  --
>  Andreas Neumann
>  Böschacherstrasse 10A
>  8624 Grüt (Gossau ZH)
>  Switzerland
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> 
> http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
> http://www.npaconsult.co.uk/terms.asp
> This Electronic Transmission is intended only for the attention of
> the addressee. It may contain privileged and confidential 
> information.
> If you are not the person for whom it is intended, you must not copy,
> distribute or take any action in reliance on it. If you have received
> this electronic transmission in error please notify us immediately by
> telephone, delete the transmission and destroy any hard copies.
> Nicholas Pearson Associates has used all reasonable efforts to ensure
> that this message and any attachments are free from viruses.
> Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel:
> +44 (0) 01225 445548, Fax: +44 (0) 01225 312387, Website:
> http://www.npaconsult.co.uk/

-- 
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland


More information about the Qgis-developer mailing list