Skip to content

Commit f543318

Browse files
Updated user-guide.md
1 parent ab385a7 commit f543318

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/user-guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,12 @@ auto* CentralDockArea = DockManager->setCentralWidget(CentralDockWidget);
493493

494494
See the `centralwidget` example to learn how it works.
495495

496-
<div style="background: #fff6e8; border: 1px solid #ffa51a; padding: 6px;">
497-
The central widget needs to be the first dock widget that is added to the
498-
dock manager. The function does not work and returns a nullptr if there
499-
are already other dock widgets registered. So setCentralWidget should be
500-
the first function when adding dock widgets.
501-
</div>
496+
> ##### Note
497+
> The central widget needs to be the first dock widget that is added to the
498+
> dock manager. The function does not work and returns a `nullptr` if there
499+
> are already other dock widgets registered. So `setCentralWidget` should be
500+
> the first function that you call when adding dock widgets.
501+
502502

503503
## Styling
504504

0 commit comments

Comments
 (0)