Forum Discussion

ashishMaz's avatar
ashishMaz
Visitor
8 years ago

Button between label in Roku

Hi,

 I need to place button between  single label in Roku.
 Example :  Subscribe for only  "here button will come with text " per month.
 
 

3 Replies

  • why does it need to be a single label?  you can make a small custom component widget that contains two labels plus one button-type object..
  • "joetesta" wrote:
    why does it need to be a single label?  you can make a small custom component widget that contains two labels plus one button-type object..

    But I need to change position of that button according to content . Button can be right,left or in middle, depend on content. 
  • even more then you would not use a single label to do this.  you need to combine multiple components, set width to 0 and obtain computed width using boundingRect().width