ValueButton inside a Row not displayed properly [answered]

asked 2014-07-21 16:48:55 +0200

Vidhuran gravatar image

ValueButton control when put within a Row does not get displayed properly. The QML file is here

Screenshot when ValueButton is displayed incorrectly

Screenshot when ValueButton is displayed without Row

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Spam Hunter
close date 2020-03-23 10:28:33.872961

Comments

1

The Row depends on the width of its children, and the children depend on the width of the Row. You could either fix the width of the Row, e.g. width: parent.width, or set the width of the Valuebuttons to an element not dependant on their width, e.g. width: page.width/2

mjones ( 2014-07-22 08:58:15 +0200 )edit

Thanks , that worked.

Vidhuran ( 2014-07-22 10:19:18 +0200 )edit