Skip to content

Commit 6c98c29

Browse files
authored
Update documentation regarding central widget (#589)
1 parent c34d479 commit 6c98c29

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

doc/ads_qt_marketplace_description.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ styles as much as possible.
1212

1313
## Features
1414

15-
### Docking everywhere - no central widget
15+
### Docking everywhere - with or without a central widget
1616

17-
There is no central widget like in the Qt docking system. You can dock on every
18-
border of the main window or you can dock into each dock area - so you are
17+
The Advanced Docking System works with or without a central widget.
18+
You can dock on every border of the main window or you can dock into each dock area - so you are
1919
free to dock almost everywhere.
2020

2121
![Dropping widgets](https://raw.githubusercontent.com/githubuser0xFFFF/Qt-Advanced-Docking-System/master/doc/preview-dragndrop.png)

doc/user-guide.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,9 @@ or to close it via the close button.
303303

304304
![HideSingleCentralWidgetTitleBar true](cfg_flag_HideSingleCentralWidgetTitleBar_true.png)
305305

306-
The Advanced Docking System is meant for applications without a static central
307-
widget and normally does not know anything about a central static widget.
306+
Unless a central widget explicitly has been set with setCentralWidget, the
307+
Advanced Docking System is without a static central widget and it wouldn't know
308+
about a central static widget.
308309
Therefore this flag is disabled by default and a central single dock widget
309310
still has a titlebar to drag it out of the main window.
310311

0 commit comments

Comments
 (0)