{"title":"VerticalShrink Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-verticalshrink-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-verticalshrink-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-verticalshrink-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":"VerticalShrink specifies that the control add-in can be made smaller vertically.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":167,"chars":322},{"level":2,"title":"Property Values","slug":"property-values","at":489,"chars":107},{"level":2,"title":"Remarks","slug":"remarks","at":596,"chars":444},{"level":2,"title":"Example","slug":"example","at":1040,"chars":88},{"level":2,"title":"Related information","slug":"related-information","at":1128,"chars":76}],"text":"> Version: _Available or changed with runtime version 1.0._\nVerticalShrink specifies that the control add-in can be made smaller vertically. This setting is optional.\n## Applies to\n Control Add In\n> NOTE\n> Use this property when the visual content of the add-in is designed to remain usable when height is restricted.\n> NOTE\n> VerticalShrink is only supported when the control add-in is displayed on a CardPart on Role Center pages or when it is the only content displayed on a Card page.\n## Property Values\nTrue if the control add-in is allowed to shrink vertically. The default value is false.\n## Remarks\nVerticalShrink is typically used together with the devenv-minimumheight-property property. If VerticalShrink is true but devenv-minimumheight-property is not set, the control add-in can shrink to nothing.\nWhen the add-in shrinks in size, the visual content must remain visible and accessible to users. To provide the best experience, consider implementing a responsive design that can adapt to reduced space and vertical scrollbars.\n## Example\n```al\nRequestedHeight = 300;\nVerticalShrink = true;\nMinimumHeight = 150;\n```\n## Related information\nControl Add-In Object<../devenv-control-addin-object>"}