haubourg / EasyCustomLabeling

plugin QGIS d'étiquetage manuel simplifié
9 stars 3 forks source link

Add label spacing to the tool 'Change Label' #10

Open pcgis opened 8 years ago

pcgis commented 8 years ago

Many thanks for your useful plugin.
Could I suggest this little improvement? Why don't add the label spacing (both between letter and word) to the tool 'Change Label'? Best regards.

haubourg commented 8 years ago

Hi, are you talking about tooltip on the buttons of labeling toolbar? If yes, this is a QGIS issue, my plugin just add the "Easy abc" button. Can you raise that to hub.qgis.org? Cheers

pcgis commented 8 years ago

Hi When the labeling layer is generated it would be useful to add the fields about spacing (between letter and between words, e.g.: 'LblSpaceLetter' and 'LblSpaceWord' ) so that user could manage them in the same way as any other 'Lbl...' fields created. So, when user click on a label with the 'abc Change Label' tool, can also modify easily the values of these two fields. Cheers

haubourg commented 8 years ago

Well, I can't see those input fields in Change Label window in 2.12( image from labeling toolbar
image Do I miss something? Adding new custom fields is not that complicated, but if there is not UI to fill that easily, I would'nt choose to make heavier labeling layer for a very uncommon task.

For such uses, I generally use advanced conditional expressions better that manual input. If you really need that, we first need a feature request to QGIS to add those fields.

pcgis commented 8 years ago

I'm about to start a qgis project quite heavy in regard of labels, so I'm making some tests. Of course, I will raise my request to hub.qgis.org Many thanks.

haubourg commented 8 years ago

If you need something very specific, you can fork the plugin and just add the fields you need. See at lines 531 -547 to add the fields and 620 to 647 to set labeling properties to use data defined fields. That should be enough. Cheers Régis

De : pcgis [mailto:notifications@github.com] Envoyé : mercredi 2 décembre 2015 12:14 À : haubourg/EasyCustomLabeling Cc : HAUBOURG Objet : Re: [EasyCustomLabeling] Add label spacing to the tool 'Change Label' (#10)

I'm about to start a qgis project quite heavy in regard of labels, so I'm making some tests. Of course, I will raise my request to hub.qgis.org Many thanks.

— Reply to this email directly or view it on GitHubhttp://cp.mcafee.com/d/k-Kr6wUpdEIc6zCXX3P39KVJ6UVdAQsII6zBwSzssCOqemn4TzqdNOr9EVpod7bVJ6UVcQszDDPhOMrzV6le9WSgGT4y2LRILG5mUBOeNH27YX4T-JBZgGT4KhSdog_DoCTxOq7LKfZvC4rK9LCzDHTbFFK3K7f6zByUV_G8IHnjlKyDOEuvkzaT0QSyrhdTdTdAVPmEBC4pj9JAenMDHp2Hsie3mQb2jt9Rl2KAffB0zAGkr-C8T0Olad-KHY9BQn4kT6jhOCyr8lrxrW01uouohpbWeQwnzV6le9WSgGT4yt-JBZgGT4KhSdog_DowGx4jUzapdIxOVJxZBYS2_id41Fr6JEm4CWjGG5t8uva14QKCy0gggd41-Affd455JJa14QgjGq89A_d44WRfd41ED4yuM8-q80HF3PPheq83hg1ydPhir7fCUOSQw3YMh_TN.