B4J Question Does DropShadow property work with B4XImageView?

Diceman

Active Member
Licensed User
I'm playing around with the B4XImageViewExample program and thought I'd spruce it up by adding a drop shadow to Image2. I used the Designer to put in a nice looking drop shadow but when I run the app there is no drop shadow. The image fills the entire rectangle.

Why does B4XImageView and ImageView have DropShadow and Text properties in the Designer if they don't work?

TIA
 

Diceman

Active Member
Licensed User
Partly for historic reasons, all custom views inherit the properties of text views.

The shadow property is part of the Node properties which means that it always appears.

I was hoping I could use the Border and Drop Shadow to produce a nice looking frame around the picture for a more professional appearance. It would put a frame around the picture and give it some depth and impact. Imagine looking at the Mona Lisa hanging on the wall without a frame around it; it would be pretty bland. ?

This is what the ImageView frame looks like in the Designer preview (without the image).

TIA

ImageViewBorderShadow.png
 
Upvote 0
Top