Community
Participate
Working Groups
This is one of the most annoying things that has bitten me to often so I'd open a bug for it now. Given I construct a label and it is part of a control with layout, it keeps its *initial text size*. For simplicity consider the label is empty by default, and changes e.g. by a button click, then it seems that the button has no effect as the label never changes (as its initial size is zero). What works is doing the following: label.setText(String.valueOf(sum)); label.requestLayout(); but this is really useless boilerplate, the label should simply be requesting the layout whenever its current text != new text (or simply always when setText is called, whatever is easier). This is similar to Bug 577140