Page 1 of 1

Stack property 'shadow' on a stack with no adorments on Windows?

Posted: Mon Jul 26, 2021 11:37 am
by stam
Hi all,

i have a splash stack for an app with a white background.

On Mac, i have set this to hide all window controls, so it just shows as a (white) rect. The 'shadow' property of the stack is set to true and on Mac you get a border and a shadow around this box.

On windows, the same stack shows up as borderless with no shadow - and as it's white, it does not separate itself at all from the surrounding documents/windows, which invariable have a lot of white background and makes this look terrible.

The only work around I've found is to give the splash stack the minimum window controls, but this doesn't quite have the same visual effect.

Granted, this is a cosmetic issue, but wondered why 'shadow' does nothing in this context?

Re: Stack property 'shadow' on a stack with no adorments on Windows?

Posted: Mon Jul 26, 2021 11:54 pm
by Bernard
Try setting the shadow of the card to true and the 3d of the card to true. That might give you the effect you desire.

Re: Stack property 'shadow' on a stack with no adorments on Windows?

Posted: Tue Jul 27, 2021 8:25 pm
by stam
Hi Bernard,
Thank you for the suggestions but that doesn't quite work...

There is no 'shadow' property on the card, only a border property
There is no 'border' property on the stack, but it does have the shadow property.

I cannot get the shadow of the stack to show, unless the titlebar is showing as well, which is not what i want.
I wanted to set the stack controls to empty but then i loose the shadow.

Having said that, i used a part of your suggestion and set the card border to show, without 3D (otherwise only the bottom/right border show). This was the most acceptable compromise.

To illustrate:
this is the ideal - if only i could get rid of the titlebar:
stack titlebar, no card borders.jpg
stack titlebar, no card borders.jpg (13.23 KiB) Viewed 2686 times

Re: Stack property 'shadow' on a stack with no adorments on Windows?

Posted: Tue Jul 27, 2021 8:27 pm
by stam
without the title bar it looks like this - on a white background everything is lost except the text...:
no stack titlebar, no card borders.jpg
no stack titlebar, no card borders.jpg (10.13 KiB) Viewed 2684 times
without the title bar but showing the card borders (no 3D) - this is the most acceptable compromise, but no shadow:
no stack titlebar, card borders.jpg
no stack titlebar, card borders.jpg (11.26 KiB) Viewed 2684 times
but with both it looks silly:
stack titlebar, card borders.jpg
stack titlebar, card borders.jpg (17.39 KiB) Viewed 2684 times
So it seems the stack 'shadow' is linked to the presence of the titlebar?