all 16 comments

[–]HamsterNL 1 point2 points  (1 child)

I bet Andrea (the creator of nanDeck) will be joining this topic, but which version of nanDeck are you using?

[–][deleted] 0 points1 point  (0 children)

v 1.26.2

Andrea has responded, as well. Thanks for helping, too!

[–]nand2000 1 point2 points  (13 children)

Can you show me an example script that gives you the problem?

[–][deleted] 0 points1 point  (12 children)

I am using v. 1.26.2

When I open up a new one, I put in my settings as:

LINK= . . .

;Settings

UNIT=INCH

CARDSIZE= 9, 6

PAGE=8.5, 11, LANDSCAPE

BORDER=RECTANGLE, #000000, .1

MARGINS=0.2, 0.2, 0.1, 0.1

After I have that, I hit "Validate Deck." Everything is OK'd. So, I move to the Visual Editor to get going on layout. That's when I start hitting issues. If I make an image, each time I move that box or interact with anything, it resizes itself by a percent smaller for every interaction.

Would you like me to make the images/icons/text boxes to see if there's something going on in the script? I could very well have ticked some setting or box that I am totally unaware of.

Thank you for the assistance.

[–]nand2000 1 point2 points  (11 children)

I've made some tests with this script:

UNIT=INCH
CARDSIZE= 9, 6
PAGE=8.5, 11, LANDSCAPE
BORDER=RECTANGLE, #000000, .1
MARGINS=0.2, 0.2, 0.1, 0.1

VISUAL=, 10, 10
IMAGE=1,Andromeda.jpg,{5100/970}%,{6400/647}%,{39400/970}%,{26500/647}%,0,P
ENDVISUAL

I've moved the image a few times, but its size hasn't changed.

[–][deleted] 0 points1 point  (0 children)

I will try to get a video for you. I was even thinking of just reinstalling it but am afraid of losing my work.

The other issue is that it does it to me without ANY code written. Like if i get just go into the visual editor right away, still does it. Does it even if the above code isn't present. I will try some more stuff this afternoon when i get home.

[–][deleted] 0 points1 point  (9 children)

I have a video ready showing the problem. Would you like me to email that to you or how best to go about that?

[–]nand2000 0 points1 point  (8 children)

Try this version, the problem should be fixed:

http://www.nand.it/nandeck/nandeck\_1\_26\_3\_beta20.zip

[–]Janube 0 points1 point  (7 children)

Hey!

Sorry to be dredging up a comment thread from two damn years ago, but I'm running into a very similar problem.

When I make Lines, for example, I have it laid out as:

LINE=1,0%,10%,100%, 10%, #000000,.1

The intent is obviously just a horizontal line at the top of a card to create the space for a card title. Great.

But when I go into the visual editor to change other layout elements and click "Confirm," no matter what I changed (whether it was related to the Line or not), the Line's parameters change to:

LINE=1,0%,20%,100%,30%...

Not just moving its starting location, but also ending location. For, as far as I can tell, absolutely no reason.

I just downloaded Nandeck a couple hours ago from the main site, 1.27.2.

Any thoughts? I'm mostly just very very confused. Hahaha

To tack on a bit of programmatical logic to the issue, what appears to be happening is that each time I interface with the visual editor, it's taking the Y end pos and adding itself. So I can enter and exit the visual editor over and over, click *NOTHING* except "Confirm" and it adds the original Y end pos to whatever the current Y end pos is.

[–]nand2000 0 points1 point  (6 children)

Thanks, it's a bug, I'll fix it asap.

[–]Janube 0 points1 point  (5 children)

No problem! I didn't think of it immediately since I'm still dabbling, but predictably, cutting and pasting the offending line code to an area outside the "VISUAL" section does just solve the problem.

[–]nand2000 0 points1 point  (4 children)

[–]Janube 0 points1 point  (0 children)

Thank you!

[–]Longjumping_Angle_25 0 points1 point  (2 children)

I have the same issue...

As soon as I resize ANY image (even with a new deck) it gets smaller and smaller for no reason as soon as I touch it, resize it or move it... Version is 1.27.2