Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Auto align/arrange Design Canvas

Hi,

 

This might be a silly question, but I'm looking for a way to Auto arrange/align the components on the design canvas as I can't seem to find it. We're generating jobs using jobscripts, and after generation all the components end up stacked in the same place.

 

If there's a possibility to do this, can it also be automated on job generation?

 

Thanks in advance for the input!

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I don't believe that there is anything to do this, but then I tend to be a bit OCD about component layout so wouldn't use it if there was. If you do find something, it would be interesting to see how it works.

 

However, you can mitigate for this in your jobscript generation. If you have got as far as generating jobscripts, it wouldn't be too much extra work to implement some logic on component position. Below is a section which describes the size and position of a component. The size and position elements use the same units. You should be able to produce something which, at the very least, evenly spaces the components with that information. 

 

	setComponentDefinition {
		TYPE: "tSortRow",
		NAME: "tSortRow_1",
		POSITION: 256, 1440,
		SIZE: 32, 32,
		OFFSETLABEL: 0, 0
	}

View solution in original post

2 Replies
Anonymous
Not applicable
Author

I don't believe that there is anything to do this, but then I tend to be a bit OCD about component layout so wouldn't use it if there was. If you do find something, it would be interesting to see how it works.

 

However, you can mitigate for this in your jobscript generation. If you have got as far as generating jobscripts, it wouldn't be too much extra work to implement some logic on component position. Below is a section which describes the size and position of a component. The size and position elements use the same units. You should be able to produce something which, at the very least, evenly spaces the components with that information. 

 

	setComponentDefinition {
		TYPE: "tSortRow",
		NAME: "tSortRow_1",
		POSITION: 256, 1440,
		SIZE: 32, 32,
		OFFSETLABEL: 0, 0
	}
Anonymous
Not applicable
Author

Hi Rilhia,

I was afraid this would be the answer. No worries, just a couple of extra loops in the generation then 0683p000009MA9p.png

Thanks for the input!