Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    CheckboxItem.setShowTitle (false);

    Hello,
    I try to disable the CheckboxItem title using
    CheckboxItem.setShowTitle (false);
    but it doesn't seems to work
    (I am using revision.268)

    I tried to test the latest (revision.279)
    still the same.
    The latest binary has nice LnF, but my application appear scarry UI issues !

    #2
    CheckboxItem already has showTitle:false by default, you probably want setShowLabel(false) instead. The "title" means a label for the item that appears in a separate cell with the form layout.

    Comment


      #3
      You are right,
      setShowLabel(false) was what I neaded.

      I would like to shrink the CheckboxItem into just the "check square", but it seems that the controll keeps the space for the Label even it it doesn't display the label itself.
      I tried to use setWidth(...); or to set the label to "", but it insist to keep the original space inside a HLayout and the next member appear far away.
      Any ideas?

      Thank you again.
      Last edited by drakator; 10 Feb 2009, 12:22.

      Comment

      Working...
      X