PhotoPicker.SetSize
-------------------

Sets size to use for popover.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [PhotoPicker](component_PhotoPicker.md) | [13.2](newinversion132.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "PhotoPicker.SetSize"; Width; Height ) 

**MBS**( **"PhotoPicker.SetSize";** /\* Sets size to use for popover. \*/  
**$Width**; /\* The new width to use.e.g. 600 \*/   
**$Height**) /\* The new height to use.e.g. 500 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Width | The new width to use. | 600 |
| Height | The new height to use. | 500 |

### Result

Returns OK or error.

### Description

Sets size to use for popover.  
Default is 600x500 points.  
  
You can call this once on start of solution to define what size to use. May depends on user screen size.  
### Examples

Use bigger size:

 Set Variable \[$r ; Value: MBS ( "PhotoPicker.SetSize"; 800; 600 )\]  
### See also

- [PhotoPicker.GetMode](PhotoPickerGetMode.md)
- [PhotoPicker.SetMode](PhotoPickerSetMode.md)
- [PhotoPicker.SetScript](PhotoPickerSetScript.md)

### Release notes

- **Version 13.2**
    - Added [PhotoPicker.SetSize](https://www.mbsplugins.eu/PhotoPickerSetSize.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin 13.2](https://www.mbsplugins.de/archive/2023-05-17/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.2pr1](https://www.mbsplugins.de/archive/2023-04-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 2/2025, Seite 19](https://filemaker-magazin.de/neuigkeit/4286-Appetithappen-FMM_202502)

This function is free to use.

Created 24th March 2023 , last changed 16th April 2023

  
[PhotoPicker.SetSelectionLimit](PhotoPickerSetSelectionLimit.md) - [PhotoPicker.TotalBytes](PhotoPickerTotalBytes.md)

[HTML Version](PhotoPickerSetSize.shtml)