Fixed Dashboard Size

Hello

Firstly I’ve searched for days and cant find an answer - well an answer I Understand.

I’m using a dashboard, panel with a grid. It has 2 columns, it shows a clock a three buttons.

I’m using wall panel on an old phone. All I want is for the 4 squares to fit within the screen and not scroll. including when the screen is rotated.

Please can someone helo

views:

  • type: panel
    cards:
    • square: true
      type: grid
      cards:
      • type: light
        entity: light.master_bedroom_light
      • type: weather-forecast
        entity: weather.forecast_home
        forecast_type: daily
      • type: light
        entity: light.left_wall_light
      • type: light
        entity: light.right_wall_light
        title: 'Clock ’
        columns: 2
        title: Master Bedroom
        subview: false
        title: Lights

Please see #11

Test out the layout card from HACs

type: custom:layout-card
layout_type: custom:grid-layout
layout:
  grid-template-columns: 1fr 1fr
  margin: 0px 0px 0px 0px
cards:
  - type: light
    entity: light.master_bedroom_light
  - type: weather-forecast
    entity: weather.forecast_home
  - type: light
    entity: light.master_bedroom_light
  - type: light
    entity: light.master_bedroom_light

Thanks for the info.

I tried the layout code, and nothing happens.

Im a newbie to home assistant so appreciate any help

Are you still using Panel as the type?