steeffeen-zz / FancyManiaLinks

ManiaLink Framework for Object-Based XML Generation
http://steeffeen.github.io/FancyManiaLinks/
GNU General Public License v3.0
6 stars 4 forks source link

Change Linespacing default -1 #27

Closed kremsy closed 7 years ago

kremsy commented 7 years ago

(-1 changes the order of the lines)

steeffeen-zz commented 7 years ago

I intended that the default value -1 wouldn't be rendered at all. However, it seems that a negative line spacing is actually valid and simply reorders the lines from bottom to top. The actual default value should probably be 1 while any other value should be rendered (-1 as well).

kremsy commented 7 years ago

Maybe you can make also Reorder Method if someone ever wants todo that^^

PRGfx commented 7 years ago

Depending on the outcome of this you could enforce things like autonewline if linespacing is set to !=1.

Well and reversing the line order could be useful e.g. for printing a log ordered by the most recent entries first. The control conveniently changes the render origin accordingly and doesn't just stupidly stack the next lines higher and higher.

steeffeen-zz commented 7 years ago

Reversing the line order will be possible by setting the value to -1 but I don't think I will add an additional convenience method for that.

I will keep an eye on the thread, thanks.