Hiding image content block without leaving whitespace on card views? (In the desktop browser)

Hi all,
I want to hide the image content block in a card view if there is no image to show, and not leave any white space. I'm using the 'list' layout for the cards, and the column that contains image urls is called media_url:

JoeMcFadden_0-1678095514914.png

I found a previous answer here https://www.googlecloudcommunity.com/gc/AppSheet-Q-A/Hide-card-view-image-section-if-no-image-set/m-...
and used the show if formula solution from Grant on the media_url column:

NOT(
AND(
CONTEXT(ViewType)=โ€œCardโ€,
ISBLANK([_THIS])
)
)

This works in the editor preview of the app, but it leaves extra whitespace for the image content block when you view the app in a desktop browser. 

In the Editor app preview:

 

Screenshot 2023-03-06 at 09.45.46.png

In Desktop browser:

Screenshot 2023-03-06 at 09.49.01.png

My app users primarily use desktop browsers. Is there any way to remove the white space completely on desktop browsers? I have tested the other possible layouts (e.g. large, photo) for a card view and get the same results, with the white space for the image content block always being visible on desktop even if there is no image to show for that record.




 

Solved Solved
0 1 108
  • UX
1 ACCEPTED SOLUTION

Looks like a bug. Not sure if its intentional behaviour in desktop.

View solution in original post

1 REPLY 1

Looks like a bug. Not sure if its intentional behaviour in desktop.

Top Labels in this Space