Skip to content

Commit 044a43d

Browse files
Updated user-guide.md
1 parent 6846c96 commit 044a43d

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

doc/user-guide.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -474,15 +474,17 @@ In the Advanced Docking System a central widget is a docking widget that is
474474
neither closable nor movable or floatable. A central widget has no title bar
475475
and so it is not possible for the user to hide, close or drag the central
476476
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)
482484
483485
![Central Widget](central_widget.gif)
484486
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
486488
to the dock manager `setCentralWidget` function:
487489
488490
```c++

0 commit comments

Comments
 (0)