Fix diappearance of text in CopyableLabel when clicking on it

When the user clicks on a CopyableLabel the displayed label is
replaced by an input box. In some cases the displayed input box has a
visible length of 0 so that the contained text is not displayed. This
happens when the text for the CopyableLabel is not set via the
constructor but with the setText(...) method. The problem is that the
member variable that holds the visible length is not updated when the
setText(...) method is invoked.

Bug: issue 1176
Signed-off-by: Edwin Kempin <>
1 file changed
tree: 3f5e5978f40c945b7f48fa4946e3b067fc1848fb
  1. .settings/
  2. src/
  3. .gitignore
  5. GoogleFormat.xml
  6. pom.xml