UX-3157 Suggest reasonable dialog/popup sizes for popular cases
BIN
images/ui/dialog_and_popup_sizes/dialog_popup_sizes.png
Normal file
After Width: | Height: | Size: 113 KiB |
BIN
images/ui/dialog_and_popup_sizes/dialog_popup_sizes_dark.png
Normal file
After Width: | Height: | Size: 108 KiB |
Before Width: | Height: | Size: 244 KiB After Width: | Height: | Size: 243 KiB |
Before Width: | Height: | Size: 201 KiB After Width: | Height: | Size: 199 KiB |
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 204 KiB |
Before Width: | Height: | Size: 205 KiB After Width: | Height: | Size: 203 KiB |
Before Width: | Height: | Size: 212 KiB After Width: | Height: | Size: 209 KiB |
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 140 KiB |
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 146 KiB |
Before Width: | Height: | Size: 448 KiB After Width: | Height: | Size: 449 KiB |
Before Width: | Height: | Size: 451 KiB After Width: | Height: | Size: 450 KiB |
Before Width: | Height: | Size: 844 KiB After Width: | Height: | Size: 269 KiB |
Before Width: | Height: | Size: 846 KiB After Width: | Height: | Size: 272 KiB |
@ -12,6 +12,8 @@ Follow these guidelines to select the correct size when creating a dialog or a p
|
||||
|
||||
There are four recommended window sizes for dialogs: **extra small**, **small**, **medium**, and **large**. Select the size depending on the amount of content to keep the important information visible.
|
||||
|
||||
{width="706"}
|
||||
|
||||
<note>When setting the default size for your dialog, it should be impossible to make it smaller.</note>
|
||||
|
||||
#### Extra small
|
||||
@ -20,8 +22,6 @@ Size: 350×250 px.
|
||||
|
||||
Best for: several components that are stacked vertically.
|
||||
|
||||
For example, the <control>Rename File</control> dialog has several input fields and checkboxes in one column:
|
||||
|
||||
{width="706"}
|
||||
|
||||
#### Small
|
||||
@ -29,7 +29,6 @@ For example, the <control>Rename File</control> dialog has several input fields
|
||||
Size: 500×350 px
|
||||
|
||||
Best for:
|
||||
* Two-column layout with a tree on one column and several components that are stacked vertically in the second column.
|
||||
* Multiple components with short labels that are divided into two columns.
|
||||
* A full-width table with two or three columns.
|
||||
* A full-width code editor or snippet.
|
||||
@ -45,21 +44,20 @@ Size: 750×525 px
|
||||
Best for:
|
||||
* A full-width table with four or more columns.
|
||||
* Two-column layout with an image or a video in any of the columns. In this case, the image or the video takes the most space.
|
||||
* Three-column layout with a code editor or snippet in any of the columns.
|
||||
* Two-column layout with a code snippet or an input field with long text in any of the columns.
|
||||
* Two code editors or snippets in a row.
|
||||
|
||||
For example, the <control>Image Viewer</control> dialog has a two-column layout with image or video in the first column and the list of input fields with actions in the second column:
|
||||
For example, the <control>Run/Debug Configuration</control> dialog has a two-column layout with a tree in the first column and the list of controls with long texts in the second column:
|
||||
|
||||
{width="706"}
|
||||
{width="706"}
|
||||
|
||||
#### Large
|
||||
|
||||
Size: 1000×700 px
|
||||
|
||||
Best for:
|
||||
* Two-column layout featuring components with long names in one of the columns.
|
||||
* Three-column layout featuring a table in one of the columns.
|
||||
* Four-or-more-column layout possibly featuring a code editor or snippet in any of the columns.
|
||||
* Two-column layout with long names, code editor, code snippet.
|
||||
* Three-or-more-column layout regardless of the content.
|
||||
|
||||
For example, <control>Code Style</control> settings for Java in the <control>Settings</control> dialog. The dialog has three columns with a table and a code snippet in different columns:
|
||||
|
||||
@ -77,8 +75,8 @@ When a user changes an adaptive popup’s size, the size is saved and the adapti
|
||||
|
||||
### Tool windows
|
||||
|
||||
* Vertical tool windows should have the default size set to 250×500 px.
|
||||
* Horizontal tool windows should have the default size set to 500×250 px.
|
||||
* Vertical tool windows should have the min size set to 250×500 px.
|
||||
* Horizontal tool windows should have the min size set to 500×250 px.
|
||||
|
||||
The default sizes should be set for all the states of the <control>View Mode</control>.
|
||||
|
||||
|