Closed StarHack closed 3 years ago
Implements a very basic ImageView exposing various functions.
Example:
imageView := gocoa.NewImageView(75, 75, 200, 100, "https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png") imageView.SetImageFrameStyle(gocoa.FrameStyleNone) imageView.SetImageAlignment(gocoa.ImageAlignBottomRight) imageView.SetImageScaling(gocoa.ImageScalingScaleProportionallyUpOrDown) imageView.SetContentTintColor("#FF0000FF") imageView.SetEditable(false) wnd.AddImageView(imageView)
url can be either remote (https://) or local (file://).
url
@mojbro @phaus
❤️
Implements a very basic ImageView exposing various functions.
Example:
url
can be either remote (https://) or local (file://).@mojbro @phaus