Checkbox text Property is not working

Bug #1323238 reported by Mihir Soni
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Confirmed
Wishlist
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Trying setting up text property for the textbox , which should show text next to the checkbox.

Code
  CheckBox{
                id:testChkBox
                text: "Testing"
            }

Expected Result :- It should show the checkbox and text next to it

Actual Result :- It just render checkbox not the text.

Changed in ubuntu-ui-toolkit:
status: New → Confirmed
Revision history for this message
Tim Peeters (tpeeters) wrote :

CheckBox never had text next to it, but indeed it is confusing that it inherits the text property from its parent AbstractButton.

I think it would be convenient if we add a Label when text is set.

Changed in ubuntu-ui-toolkit:
importance: Undecided → Wishlist
Revision history for this message
Tim Peeters (tpeeters) wrote :

it is confusing that all the properties from the parent components are listed on the CheckBox documentation page

Revision history for this message
Zsombor Egri (zsombi) wrote :

Never the less, a Checkbox component has a text property and visuals in all toolkits around us, so we must have this feature.

Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Adnane Belmadiaf (daker) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.