Menu.SetMinimumWidth
--------------------

Set the minimum width of the menu.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Menu](component_Menu.md) | [4.1](newinversion41.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "Menu.SetMinimumWidth"; menu; Width ) 

**MBS**( **"Menu.SetMinimumWidth";** /\* Set the minimum width of the menu. \*/  
**$menu**; /\* The reference to the menu. Please create one with [Menu.CreateMenu](MenuCreateMenu.md). \*/   
**$Width**) /\* The minimum width of the menu in screen coordinates.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| menu | The reference to the menu. Please create one with [Menu.CreateMenu](MenuCreateMenu.md). | $menu |
| Width | The minimum width of the menu in screen coordinates. | 0 |

### Result

Returns OK or error.

### Description

Set the minimum width of the menu.  
The menu will not draw smaller than its minimum width, but may draw larger if it needs more space. The default value is 0.  
See also [Menu.GetMinimumWidth](MenuGetMinimumWidth.md).  
### See also

- [Menu.CreateMenu](MenuCreateMenu.md)
- [Menu.GetMinimumWidth](MenuGetMinimumWidth.md)

### FileMaker Magazin

- [Ausgabe 2/2021, Seite 28](https://filemaker-magazin.de/neuigkeit/4132-Appetithappen-FMM_202102)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[Menu.SetEvaluate](MenuSetEvaluate.md) - [Menu.SetScriptAction](MenuSetScriptAction.md)

[HTML Version](MenuSetMinimumWidth.shtml)