Freetile icon indicating copy to clipboard operation
Freetile copied to clipboard

Feature req: Missing calculation for last row, and option for direction (LTR or RTL)

Open scazzy opened this issue 10 years ago • 3 comments

image

Feature request: a) There's no option to select direction , say LTR or RTL, so that in cases, the column chosen where the new brick is added can be directed accordingly. b) The algorithm should always check if the brick is the LAST brick. And if it is, with proper calculations, if first column is not much longer, the last brick should be placed in there (first column)

scazzy avatar Feb 27 '14 12:02 scazzy

You're right about a) so I flagged your issue as an enhancement. But I don't understand what's the benefit of b)? Just placing the last thumb on the leftmost position? Btw, Freetile does not use the notion of columns for packing, so it all depends on your elements widths.

yconst avatar Mar 09 '14 11:03 yconst

well, (b) basically means scenario like the one in the above screenshot. The 2nd last card got placed in the 2nd column because it had the lowest height as per algo. But the last one had choice from 1st and the 3rd column. It chose 3rd column, because of the algo. But generally without direction specified (LTR or RTL), it would be better to choose the 1st column which would make the UI look better. Hope I was able to explain it better :) its kinda complicated query am raising

scazzy avatar Mar 09 '14 18:03 scazzy

I do like the idea of being able to pick a direction.

My issues I have are that I resize the block on click (make it twice the width), this works nicely most of the time, apart from on the 'last' brick of a row, where ideally, it would slide to the left so that it doesn't move position when you click on it. Haven't got a decent implementation of that working yet.

Dayjo avatar Mar 18 '14 15:03 Dayjo