Topic: Globally changing label text size ?

The default text size for labels is pretty big, much bigger than I am used to.

The element i have made myself use size 7 which is right for my taste.

Problem is that all QET supplied elements use size 9
Is there some clever way to set them all to 7?

Re: Globally changing label text size ?

a bash script nomicons/smiley-green

3 (edited by Morganol 2016-12-07 19:15:34)

Re: Globally changing label text size ?

Yes of course nomicons/smile

Here is a one-liner plus 30 lines bonus fluff

EDIT: improved to handle more than one digit original size, and a commented example how to change all labels in a .qet file

Post's attachments

Attachment icon SetLabelSize.sh 1.58 kb, 365 downloads since 2016-12-07 

Re: Globally changing label text size ?

How to change all label sizes in a project .qet file:

Example: set all labels to size 8, in a new file:

sed "/tagg=\"label\"/ s/size=\"[[:digit:]]*\"/size=\"8\"/g" originalproject.qet > modifiedproject.qet