Welcome to Koda bug tracker!

At the moment you can post bugreports or suggestions anonymously. But registered users have some benefits: attaching files, commenting, voting, tracking tasks e.t.c.

Due some asshole started spamming tracker, now (at least for some time) it’s not allowed to create anonymous tasks. Sorry for unconvenience.

In edit fields you can use DokuWiki syntax for formatting.


FS#333 - label width value is being forgotten

Attached to Project: Koda
Opened by Vitas (LoWang) - Friday, 28 September 2012, 18:04 GMT+3
Type Bug Report
Category Application
Status Unconfirmed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


I have some labels in my program but when I set longer text in them it overflows and line breaks. So I prolonged them in Koda, saved, updated script with CTRL+U and it worked. Unfortunatelly next time after opening the KXF file I found all labels to have width and height reset back to the values set after their creation! Pretty dumb...I think this is a bug right?
Later I found out it happens not only after reopening the form, but randomly during development when the project is open. The only workaround seems to be to add a lot of spaces to a label’s caption

This task depends upon

Comment by David (Willichan) - Monday, 22 October 2012, 19:26 GMT+3

Did you try setting "AutoSize" to False in the label's properties?

Comment by Vitas (LoWang) - Monday, 22 October 2012, 21:54 GMT+3

no! Haven't noticed that at all :o I just assume that any value I specify manually or by mouse should stay and there should be no reason for it to be randomly autochanged back. Interesting. I will try that, but it would be great if this autosize property was set to false whenever you resize your labels by mouse or enter numbers what do you say?
What should it do anyway? Change the width and height of the element after its caption is changed or when exactly? Unfortunatelly it does not seem to work runtime and the text breaks onto new line.

Comment by David (Willichan) - Monday, 22 October 2012, 22:35 GMT+3

I'm not sure what the original intent was. I just got in the habit of turning it off when I start a new form.