mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-24 23:31:32 +08:00
Updated user-guide.md
This commit is contained in:
parent
ab385a782a
commit
f543318232
@ -493,12 +493,12 @@ auto* CentralDockArea = DockManager->setCentralWidget(CentralDockWidget);
|
|||||||
|
|
||||||
See the `centralwidget` example to learn how it works.
|
See the `centralwidget` example to learn how it works.
|
||||||
|
|
||||||
<div style="background: #fff6e8; border: 1px solid #ffa51a; padding: 6px;">
|
> ##### Note
|
||||||
The central widget needs to be the first dock widget that is added to the
|
> The central widget needs to be the first dock widget that is added to the
|
||||||
dock manager. The function does not work and returns a nullptr if there
|
> dock manager. The function does not work and returns a `nullptr` if there
|
||||||
are already other dock widgets registered. So setCentralWidget should be
|
> are already other dock widgets registered. So `setCentralWidget` should be
|
||||||
the first function when adding dock widgets.
|
> the first function that you call when adding dock widgets.
|
||||||
</div>
|
|
||||||
|
|
||||||
## Styling
|
## Styling
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user