|
|
commit 75240c9a32a9ed8875d516cbefb35c3826f0566d
Author: Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Mon Nov 8 15:35:54 2021 +0100
Commit: Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Mon Nov 8 16:19:48 2021 +0100
Add new resize examples to demo menu, remove figure numbers
Adding only 2 of 3 new examples is intentional (9 per menu level).
Figure numbers have been removed in all the HTML docs recently for
better maintainability.
documentation/src/resize.dox | 6 +++---
test/demo.menu | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git documentation/src/resize.dox documentation/src/resize.dox
index e3da5fd..c3b30da 100644
--- documentation/src/resize.dox
+++ documentation/src/resize.dox
@@ -198,7 +198,7 @@ results in proportional resizing of the child widgets (and also
of the margins and padding between them) as shown below, which
is clearly not what you want.
-\image html resize-example5a.png "Figure 6.8: Resizing a row of widgets (a)"
+\image html resize-example5a.png "Resizing a row of widgets (a)"
\image latex resize-example5a.png "Resizing a row of widgets (a)" width=12cm
Simply adding a group around A and B and setting its \p resizable
@@ -246,7 +246,7 @@ means that widgets A, B and C will never change height because
the extra resizable box does not overlap them vertically.
Only the padding below them will be resized.
-\image html resize-example5b.png "Figure 6.9: Resizing a row of widgets (b)"
+\image html resize-example5b.png "Resizing a row of widgets (b)"
\image latex resize-example5b.png "Resizing a row of widgets (b)" width=12cm
In a real application, you probably want to allow widgets A,
@@ -257,7 +257,7 @@ Obviously after calling <tt>hide()</tt> on the box it is no
longer visible, and may therefore be the same height as the
other widgets, or a fraction of the height, as shown below.
-\image html resize-example5c.png "Figure 6.10: Resizing a row of widgets (c)"
+\image html resize-example5c.png "Resizing a row of widgets (c)"
\image latex resize-example5c.png "Resizing a row of widgets (c)" width=12cm
To summarize the key points of the new technique:
diff --git test/demo.menu test/demo.menu
index f53b0ed..c865fe5 100644
--- test/demo.menu
+++ test/demo.menu
@@ -106,3 +106,5 @@
@ir:Example\n3c:resize-example3c
@ir:Example\n4a:resize-example4a
@ir:Example\n4b:resize-example4b
+ @ir:Example\n5a:resize-example5a
+ @ir:Example\n5b:resize-example5b
[ Direct Link to Message ] | |
|
| |