• Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Application
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Koda
Opened by Vitas - 28.09.2012

FS#333 - label width value is being forgotten

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
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

David commented on 22.10.2012 15:26

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

Vitas commented on 22.10.2012 17:54

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
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

David commented on 22.10.2012 18:35

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.


Available keyboard shortcuts


Task Details

Task Editing