Widget Properties

Richard Gaskin ambassador at fourthworld.com
Fri Apr 24 14:47:23 EDT 2020


J. Landman Gay wrote:

 > So what I did was use a round-rect graphic as a button. Set the
 > linesize to 1 and the round radius to 8. You can set the border color
 > and the text color.

Using the graphic is a much better choice than a roundRect button, 
because the button uses an older non-antialiased corner.

If any of the C programmers here have a few minutes, we could enjoy all 
the benefits roundRect button with appearances as good as a roundRect 
graphic with what Monte describes as a fairly minor bit of work:

    This is possibly a good user contribution. It's just wrapping
    the drawroundrect call with `dc -> setquality(QUALITY_SMOOTH);
    ` & `dc -> setquality(QUALITY_DEFAULT);`

https://quality.livecode.com/show_bug.cgi?id=21118

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com





More information about the use-livecode mailing list