Export to GitHub

mgwt - issue #171

MCheckBox text should be configurable


Posted on May 19, 2012 by Massive Rhino

Either the text could be set directly, or it could be set using an enum for

Yes/No True/False On/Off I/O

All of these text fit in the current implementation.

Comment #1

Posted on May 19, 2012 by Swift Panda

Issue 172 has been merged into this issue.

Comment #2

Posted on May 19, 2012 by Swift Panda

if we allow the text to be set from the outside every text has to work (not only short ones). I think there might be issues with that if the checkbox gets streched, one would have to investigate further what happens with "big" texts.

Comment #3

Posted on May 28, 2012 by Swift Panda

(No comment was entered for this change.)

Comment #4

Posted on Sep 29, 2012 by Swift Panda

(No comment was entered for this change.)

Comment #5

Posted on Oct 1, 2012 by Happy Rhino

+1 for:

Either the text could be set directly, or it could be set using an enum for

Yes/No True/False On/Off I/O

All of these text fit in the current implementation.

Comment #6

Posted on Oct 17, 2012 by Swift Wombat

yes, we need a configurable check box. if string length is the limit, we can truncate it to maximum 3-4 character

Comment #7

Posted on Dec 31, 2012 by Happy Kangaroo

Yes, we need a configurable text for the check box.

Comment #8

Posted on Nov 12, 2013 by Grumpy Bird

Comment deleted

Comment #9

Posted on Nov 12, 2013 by Grumpy Bird

I need this behaviour and use the following code in my project, Element onElement = (Element)rememberLogin.getElement().getChild(0); onElement.setInnerText("On"); Element offElement = (Element)rememberLogin.getElement().getChild(2); offElement.setInnerText("Off");

but this is just a workaround. Hardcoded this way is not a good practice. so include a method to add the text or enum in future release

Comment #10

Posted on Aug 9, 2014 by Swift Panda

(No comment was entered for this change.)

Comment #11

Posted on Sep 25, 2014 by Happy Rhino

How to change the value from (I/0) to (ON/OFF) ? pls give example

Status: Fixed

Labels:
Type-Defect Priority-Medium