[Qgis-developer] Composer redesign

James Stott James.Stott at npaconsult.co.uk
Mon Feb 6 09:26:06 EST 2012


Thank you Nathan that would be great if any of those things could happen. Controlling what updates would be one way around it.

 

I did have another thought with regards to multi line legend items, it could possibly be useful to allow the use of a character which signifies the need to use a new line, like in the new labelling where you can 'Wrap label on character'.

 

Andreas - good point, we always have a standard legend panel so it doesn't affect us - the legend always stays the same dimensions.

 

From: Nathan Woodrow [mailto:madmanwoo at gmail.com] 
Sent: 06 February 2012 14:10
To: James Stott
Cc: Andreas Neumann; qgis-developer at lists.osgeo.org
Subject: Re: [Qgis-developer] Composer redesign

 

Jamas and Andreas,

 

I see what you mean.  It is a bit of a pain, not very ideal.

 

I'll see what I can do to improve this. Can't promise anything yes but I'll have look anyway. 

 

I suspect a redesign of the legend widget to allow more finer control of each item is in order.  One thing I have thought of is control what gets updated when you click update e.g. only update style; only update text; update style and text.  Things like that.

 

- Nathan

On Mon, Feb 6, 2012 at 11:48 PM, James Stott <James.Stott at npaconsult.co.uk> 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/


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/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/

_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120206/02289cb1/attachment.html


More information about the Qgis-developer mailing list