<div dir="ltr"><span style="color:rgb(35,38,41);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;background-color:rgb(249,248,246)">Good morning, </span><div><span style="color:rgb(35,38,41);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;background-color:rgb(249,248,246)">I work with </span><span class="gmail-diff-add" style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;vertical-align:baseline;box-sizing:inherit">QGIS</span><span style="color:rgb(35,38,41);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;background-color:rgb(249,248,246)"> 3.22. For an atlas I'm trying to make not only the legend content fit the content (it works) but also that the bottom position of the legend is always the same. So I want to'stabilize' these values. It seems to work when I view the atlas preview. But the </span><span class="gmail-diff-add" style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;vertical-align:baseline;box-sizing:inherit">PDF</span><span style="color:rgb(35,38,41);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;background-color:rgb(249,248,246)"> export is not good. The position of the legend varies according to the boards and is positioned either below or above the values I had defined. I am attaching a screenshot showing on the left what I see in the atlas preview and the result of my atlas pdf export.</span><div><font color="#232629" face="-apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif"><span style="font-size:15px"><br></span></font></div><div><img src="cid:ii_lb0uu9rn0" alt="image.png" width="562" height="238"><br><div><font color="#232629" face="-apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif"><span style="font-size:15px"><br></span></font></div><div><span style="color:rgb(35,38,41);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;background-color:rgb(249,248,246)">I specify that I have as legend parameters: "show only entities inside the linked map" as well as "adjust to content". For the "position-size" submenu, I defined relevant x/y values and I indicated as a reference point the point at the bottom left. I laso make a try in setting values x and y as suggested here: </span><a href="https://gis.stackexchange.com/questions/265163/qgis-map-composer-changing-legend-position-when-exporting-atlas-as-images" style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;vertical-align:baseline;box-sizing:inherit;background-color:rgb(249,248,246)">QGIS map composer changing legend position when exporting atlas as images</a><span style="color:rgb(35,38,41);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;background-color:rgb(249,248,246)"> But it does not work for me.</span></div><div><span style="color:rgb(35,38,41);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;background-color:rgb(249,248,246)"><br></span></div><div><img src="cid:ii_lb0uuqzy1" alt="image.png" width="562" height="204"><br></div><div><font color="#232629" face="-apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif"><span style="font-size:15px"><br></span></font></div><div><font color="#232629" face="-apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif"><span style="font-size:15px"><br></span></font></div><div><font color="#232629" face="-apple-system, BlinkMacSystemFont, Segoe UI Adjusted, Segoe UI, Liberation Sans, sans-serif"><span style="font-size:15px"><br></span></font><div><span style="color:rgb(35,38,41);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Adjusted","Segoe UI","Liberation Sans",sans-serif;font-size:15px;background-color:rgb(249,248,246)">Thanks !</span></div></div></div></div></div>