UX-3157 Suggest reasonable dialog/popup sizes for popular cases

This commit is contained in:
eldar-jetbrains 2025-01-03 14:51:21 +01:00
parent e7576a445d
commit b0a634567f
37 changed files with 34 additions and 25 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 KiB

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 KiB

After

Width:  |  Height:  |  Size: 451 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 452 KiB

After

Width:  |  Height:  |  Size: 453 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 452 KiB

After

Width:  |  Height:  |  Size: 455 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 453 KiB

After

Width:  |  Height:  |  Size: 456 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -117,86 +117,95 @@ When the default sizes are either too big or too small for a window, or the wind
1. Select how the content is displayed:
<table style="header-column">
<table style="none" border="false">
<tr>
<td width="40%">
Table cell
<td width="50%">
<img src="dialog_popup_sizes_table_cell.png" alt="" width="378"/>
</td>
<td>
<p>Width: min&nbsp;65&nbsp;px</p>
<p>Height for the whole table: min&nbsp;120&nbsp;px</p>
<p>Follow guidelines for table width</p>
<p><format style="bold">Table cell</format></p>
<p>Width: min&nbsp;65&nbsp;px</p>
<p>Height for the whole table: min&nbsp;120&nbsp;px</p>
<p>Follow guidelines for table width</p>
</td>
</tr>
<tr>
<td width="40%">
Tree
<td width="50%">
<img src="dialog_popup_sizes_tree.png" alt="" width="378"/>
</td>
<td>
Width: min 250&nbsp;px
<p><format style="bold">Tree</format></p>
<p>Width: min 250&nbsp;px</p>
</td>
</tr>
<tr>
<td width="40%">
Text area
<td width="50%">
<img src="dialog_popup_sizes_text_area.png" alt="" width="378"/>
</td>
<td>
<p><format style="bold">Text area</format></p>
<p>Width: min&nbsp;270&nbsp;px, max&nbsp;600&nbsp;px</p>
<p>Height: min&nbsp;55&nbsp;px</p>
<p>For size and placement follow the <a href="text_area.md" anchor="size-and-placement">text area</a> guidelines</p>
</td>
</tr>
<tr>
<td width="40%">
Diagram
<td width="50%">
<img src="dialog_popup_sizes_diagram.png" alt="" width="378"/>
</td>
<td>
A container with horizontal and vertical insets with 100&nbsp;px
<p><format style="bold">Diagram</format></p>
<p>A container with horizontal and vertical insets with 100&nbsp;px</p>
</td>
</tr>
</table>
2. What type of content is used:
<table style="header-column">
<table style="none" border="false">
<tr>
<td width="40%">
Class/test/file name
<td width="50%">
<img src="dialog_popup_sizes_class_test_file.png" alt="" width="378"/>
</td>
<td>
<p><format style="bold">Class/test/file name</format></p>
<p>Width: min&nbsp;250&nbsp;px</p>
</td>
</tr>
<tr>
<td width="40%">
URL/Path/FQN for class
<td width="50%">
<img src="dialog_popup_sizes_url_path_fqn.png" alt="" width="378"/>
</td>
<td>
<p><format style="bold">URL/Path/FQN for class</format></p>
<p>Width: min&nbsp;350&nbsp;px</p>
</td>
</tr>
<tr>
<td width="40%">
Class/test/file name + URL/Path/FQN for class
<td width="50%">
<img src="dialog_popup_sizes_class_test_file_url_path_fqn.png" alt="" width="378"/>
</td>
<td>
<p><format style="bold">Class/test/file name + URL/Path/FQN for class</format></p>
<p>Width: min&nbsp;400&nbsp;px</p>
</td>
</tr>
<tr>
<td width="40%">
Code snippet or editor
<td width="50%">
<img src="dialog_popup_sizes_code_snippet.png" alt="" width="378"/>
</td>
<td>
<p><format style="bold">Code snippet or editor</format></p>
<p>Width: min&nbsp;400&nbsp;px</p>
<p>Height (when multiple lines): min&nbsp;120&nbsp;px</p>
</td>
</tr>
<tr>
<td width="40%">
Standalone text
<td width="50%">
<img src="dialog_popup_sizes_standalone_text.png" alt="" width="378"/>
</td>
<td>
<p><format style="bold">Standalone text</format></p>
<p>Width: min&nbsp;300&nbsp;px</p>
<p>Height (when multiple lines): min&nbsp;120&nbsp;px</p>
</td>