From 682f9a8936a52a2ff7e6bf0095d8ef537b9d120d Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Sun, 16 Oct 2022 08:12:42 +0100 Subject: [PATCH 1/4] Correct the class name that hides the widget in the eg Also add some code markup to the class name, as this seems common elsewhere in the docs. --- docs/styles/display.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/styles/display.md b/docs/styles/display.md index 962838939..5462367d4 100644 --- a/docs/styles/display.md +++ b/docs/styles/display.md @@ -17,7 +17,7 @@ display: [none|block]; ## Example -Note that the second widget is hidden by adding the "hidden" class which sets the display style to None. +Note that the second widget is hidden by adding the `"remove"` class which sets the display style to None. === "display.py" From 5df90e00c0cf3e3c14cf080d280d6aac137cb4d4 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Sun, 16 Oct 2022 08:18:30 +0100 Subject: [PATCH 2/4] examples -> example --- docs/styles/outline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/styles/outline.md b/docs/styles/outline.md index 2267fedb7..c2e9b3eb8 100644 --- a/docs/styles/outline.md +++ b/docs/styles/outline.md @@ -43,7 +43,7 @@ For example, `heavy white` would display a heavy white line around a widget. ## Example -This examples shows a widget with an outline. Note how the outline occludes the text area. +This example shows a widget with an outline. Note how the outline occludes the text area. === "outline.py" From b235e4cff03488b4a4f5f9479276027779a12c54 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Sun, 16 Oct 2022 08:19:20 +0100 Subject: [PATCH 3/4] Remove unnecessary indentation of example code --- docs/styles/outline.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/styles/outline.md b/docs/styles/outline.md index c2e9b3eb8..284c669a8 100644 --- a/docs/styles/outline.md +++ b/docs/styles/outline.md @@ -78,6 +78,6 @@ outline-left:outer red; # Set a heavy white outline widget.outline = ("heavy", "white) - # Set a red outline on the left - widget.outline_left = ("outer", "red) +# Set a red outline on the left +widget.outline_left = ("outer", "red) ``` From f867d5b0164c624b03ab14f93f33c9206f3950b1 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Sun, 16 Oct 2022 08:22:30 +0100 Subject: [PATCH 4/4] Make the scrollbar belong to the widget --- docs/styles/scrollbar_size.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/styles/scrollbar_size.md b/docs/styles/scrollbar_size.md index a6bfbcce8..ccc9c5e80 100644 --- a/docs/styles/scrollbar_size.md +++ b/docs/styles/scrollbar_size.md @@ -12,7 +12,7 @@ scrollbar-size: ; ## Example -In this example we modify the size of the widgets scrollbar to be _much_ larger than usual. +In this example we modify the size of the widget's scrollbar to be _much_ larger than usual. === "scrollbar_size.py"