Diceman Active Member Licensed User Jan 21, 2021 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Jan 22, 2021 #2 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. Upvote 0
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.
Diceman Active Member Licensed User Jan 22, 2021 #3 Erel said: 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. Click to expand... 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 Upvote 0
Erel said: 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. Click to expand... 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