File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -474,15 +474,17 @@ In the Advanced Docking System a central widget is a docking widget that is
474
474
neither closable nor movable or floatable. A central widget has no title bar
475
475
and so it is not possible for the user to hide, close or drag the central
476
476
widget. If there is a central widget, then also the distribution of the sizes
477
- for the dock widgets around the central widget is different. If there is no
478
- central widget and the main window is resized, then the available space is
479
- distributed to all dock widgets. If a central widget exists, then only the
480
- central widget is resized when resizing the main window. The dock widgets around
481
- the central widget keep their sizes. The following animation shows this:
477
+ for the dock widgets around the central widget is different:
478
+
479
+ - **no central widget (default)** - on resizing the available space is
480
+ distributed to all dock widgets - the size of all dock widgets
481
+ shrinks or grows
482
+ - **with central widget** - on resizing only the central widget is resized - the
483
+ dock widgets around the central widget keep their size (see the animation below)
482
484
483
485

484
486
485
- To set a centra widget, you just need to pass your central dock widget
487
+ To set a central widget, you just need to pass your central dock widget
486
488
to the dock manager `setCentralWidget` function:
487
489
488
490
```c++
You can’t perform that action at this time.
0 commit comments