diff --git a/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_m.png b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_m.png new file mode 100644 index 000000000..0c45ca7d6 Binary files /dev/null and b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_m.png differ diff --git a/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_m_dark.png b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_m_dark.png new file mode 100644 index 000000000..1ffdaf125 Binary files /dev/null and b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_m_dark.png differ diff --git a/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_s.png b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_s.png new file mode 100644 index 000000000..2460f3a1c Binary files /dev/null and b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_s.png differ diff --git a/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_s_dark.png b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_s_dark.png new file mode 100644 index 000000000..08aea15b1 Binary files /dev/null and b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_s_dark.png differ diff --git a/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xs.png b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xs.png new file mode 100644 index 000000000..78a131361 Binary files /dev/null and b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xs.png differ diff --git a/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xs_dark.png b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xs_dark.png new file mode 100644 index 000000000..c7edb3646 Binary files /dev/null and b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xs_dark.png differ diff --git a/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xxs.png b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xxs.png new file mode 100644 index 000000000..a1fcc47e3 Binary files /dev/null and b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xxs.png differ diff --git a/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xxs_dark.png b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xxs_dark.png new file mode 100644 index 000000000..8815446c1 Binary files /dev/null and b/images/ui/dialog_and_popup_sizes/dialog_popup_sizes_popup_xxs_dark.png differ diff --git a/topics/Dialog-and-popup-sizes.md b/topics/Dialog-and-popup-sizes.md index 7f21e4cae..503cbdc3c 100644 --- a/topics/Dialog-and-popup-sizes.md +++ b/topics/Dialog-and-popup-sizes.md @@ -67,13 +67,40 @@ For example, Code Style settings for Java in the Set #### Minimum width -Popups should have the same default minimum width as dialogs. +Popups should have the same default minimum width as dialogs. In addition, there is a smaller size for popups — 200 px wide, when the content is narrow -![](){width="706"} + + + + + +
+

Insert

+

Width: 200 px

+ +
+

Quick Fixes

+

Width: 350 px

+ +
+ + + + + + + +
+

Documentation

+

Width: 500 px

+ +
+

Search Everywhere

+

Width: 750 px

+ +
-If a popup is smaller than the extra small size, adapt the width based on the content inside. - -, but unlike dialogs, they can have adaptive height. If the popup displays different amounts of content depending on the situation, adapt the popup size to the content on opening. +_, but unlike dialogs, they can have adaptive height. If the popup displays different amounts of content depending on the situation, adapt the popup size to the content on opening._ For example, the height of the Git Brunches popup adapts to the amount of the content inside: @@ -154,7 +181,7 @@ When the default sizes are either too big or too small for a window, or the wind -

Diagram

+

Diagram

A container with horizontal and vertical insets with 100 px

@@ -212,7 +239,7 @@ When the default sizes are either too big or too small for a window, or the wind -3. Select the biggest size out of the two to add the minimal size to a component +3. Select the biggest size out of the two to add the minimum size to a component #### Example 1 @@ -235,7 +262,7 @@ The Rename Inheritors dialog has a table with FQNs. Add 350&n #### Example 2 -Settings dialog has the default size 1000 px. In the Code Style settings for Java set 400 px as the minimal width of the code editor. This will make the dialog wider but will show more code +Settings dialog has the default size 1000 px. In the Code Style settings for Java set 400 px as the minimum width of the code editor. This will make the dialog wider but will show more code