Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

10. The Scale Widget > 10.8. Changing the Size of the Scale

Changing the Size of the Scale

You can use the -length and -width options to change the size of the Scale. You can also change the size of the button displayed in the slider widget; to do so, use the -sliderlength option. It takes a value specified in screen units and will change the length of the slider button.

$mw->Scale(-sliderlength => 100); # make the button 100 pixels.

Figure 10-5 illustrates this.

Different -sliderlength values

Figure 10-5. Different -sliderlength values


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint