# HorizontalStretch Property
> Version: _Available or changed with runtime version 1.0._
HorizontalStretch specifies that the control add-in can be made larger horizontally. This setting is optional.
## Applies to
 Control Add In
## Property Values
True if the control add-in is allowed to stretch horizontally. The default value is false.
## Remarks
HorizontalStretch is typically used together with the devenv-maximumwidth-property property. If HorizontalStretch is true but devenv-maximumwidth-property is not set, the control add-in can stretch indefinitely.
## Example
```al
RequestedWidth = 600;
HorizontalStretch = true;
MaximumWidth = 800;
```
## Related information
Control Add-In Object<../devenv-control-addin-object>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-horizontalstretch-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-horizontalstretch-property/
