{"title":"HorizontalStretch Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-horizontalstretch-property/","by":"JOP-AL","license":"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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-horizontalstretch-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"HorizontalStretch specifies that the control add-in can be made larger horizontally.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":171,"chars":30},{"level":2,"title":"Property Values","slug":"property-values","at":201,"chars":110},{"level":2,"title":"Remarks","slug":"remarks","at":311,"chars":223},{"level":2,"title":"Example","slug":"example","at":534,"chars":89},{"level":2,"title":"Related information","slug":"related-information","at":623,"chars":76}],"text":"> Version: _Available or changed with runtime version 1.0._\nHorizontalStretch specifies that the control add-in can be made larger horizontally. This setting is optional.\n## Applies to\n Control Add In\n## Property Values\nTrue if the control add-in is allowed to stretch horizontally. The default value is false.\n## Remarks\nHorizontalStretch 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.\n## Example\n```al\nRequestedWidth = 600;\nHorizontalStretch = true;\nMaximumWidth = 800;\n```\n## Related information\nControl Add-In Object<../devenv-control-addin-object>"}