9 Commits

Author SHA1 Message Date
Nyall Dawson
69aacde19c Fix failing tests 2017-11-07 11:32:39 +10:00
Nyall Dawson
d3430e4d42 Port legend item 2017-11-07 11:32:39 +10:00
Nyall Dawson
ecafb494a8 Add some mask images, adjust test results for OSX 2017-08-07 07:38:19 +10:00
Alexander Bruy
81e2f87fd0 update test masks 2016-12-14 13:46:19 +02:00
Mathieu Pellerin
a8b9723cbc [FEATURE] allow customization of line spacing for legend item labels (#3632)
* [FEATURE] allow customization of line spacing for legend item labels
* add test for legend line spacing and update control images
2016-12-13 12:09:13 +07:00
Nyall Dawson
7f2bdcf342 Update legend test masks, fix for PyQt5 2016-07-14 07:12:15 +10:00
Nyall Dawson
2f8c6f5207 [composer] Add a checkbox for legends to prevent automatic resizing
A new checkbox has been added to the legend settings to control
whether or not a legend should be automatically resized to fit
its contents.

If unchecked, then the legend will never resize and instead just
stick to whatever size the user has set. Any content which
doesn't fit the size is cropped out.

Refs #10556

On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00
Nyall Dawson
4f31ab656e [composer] Fix setting legend content by map not resizing legend
When a legend was set to filter content by map, it wasn't
consistently being resized to fit the legend contents. This caused
issues for atlas exports where legends could grow but never
shrink.

Fix #14707

On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00
Nyall Dawson
93f2eec711 [composer] Fix initial size of legend is wrong if symbol size in
map units is used (fix #11921)

On behalf of Faunalia, sponsored by ENEL
2016-07-13 17:35:44 +10:00