---
title: "LogicalSize"
---
import XRef from "../../../../components/XRef.astro";
import Signature from "../../../../components/Signature.astro";

```python
from slint import LogicalSize
```

A 2D size in logical pixels.

## Properties

### width

<Signature symbol="slint.slint.LogicalSize.width">width: <XRef to="float" plain /></Signature>

The width.

### height

<Signature symbol="slint.slint.LogicalSize.height">height: <XRef to="float" plain /></Signature>

The height.