[QGIS-Developer] rotating and resizing layout items (bug?)

Raymond Nijssen r.nijssen at terglobo.nl
Sun Dec 16 12:49:28 PST 2018


Tnx Paolo, but that is another bug. I'm talking about 
QgsLayoutItemLabels here, not the map labels. I mean the pieces of text 
you put on a layout, like a title.



On 16-12-18 18:59, Paolo Cavallini wrote:
> https://issues.qgis.org/issues/19263 ?
> 
> Cheers
> 
> On 12/15/18 10:46 AM, Raymond Nijssen wrote:
>> Hi!
>>
>> I'm experiencing some strange behavior while working with rotated
>> labels in a layout.
>>
>> Put a label on my layout like this:
>>
>> x: 100
>> y: 100
>> width: 30
>> height: 12
>> refPoint: center-left
>>
>> When I rotate it 270 degrees, it rotates around the center, ending up
>> at  x: 115, y: 115. I would expect it to rotate around the center-left
>> reference point.
>>
>>
>> Now I want to display a longer text string, so I extent the label box
>> length a bit (in this rotated state, I drag the top of my label a bit
>> upwards). After releasing my mouse the entire label has been moved
>> further left and downwards on my layout.
>>
>> Exact same behaviour for picture items, so I guess it is a general
>> QgsLayoutItem thing.
>>
>> Not sure how this is meant to be, but this feels not very logical to me.
>>
>> Should I file a bug?
>>
>> Regards,
>> Raymond
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

-- 
Terglobo
Fahrenheitstraat 1
5223 BJ 's-Hertogenbosch
The Netherlands
+31 (0) 6 25 31 49 83


More information about the QGIS-Developer mailing list