From 1279834849c8ecf682444a7192ee692cce75cd4d Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:54:54 +0100 Subject: [PATCH] Improve the custom widget docstring --- novelwriter/extensions/configlayout.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/novelwriter/extensions/configlayout.py b/novelwriter/extensions/configlayout.py index 2a269202..280caedc 100644 --- a/novelwriter/extensions/configlayout.py +++ b/novelwriter/extensions/configlayout.py @@ -275,9 +275,9 @@ class NColourLabel(QLabel): class NWrappedWidgetBox(QHBoxLayout): """Extension: A Text-Wrapped Widget Box - A custom layout box where a widget is wrapped within the box. The - widget is inserted at the {0} position so that it can be used for - translation strings. + A custom layout box where a widget is wrapped in text labels on + either side within a layout box. The widget is inserted at the {0} + position so that it can be used for translation strings. """ def __init__(self, text: str, widget: QWidget) -> None: