summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-12-14 15:07:48 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-12-14 15:07:48 (GMT)
commitcbfeb79c80a774166e016e7c879bba465ffc0496 (patch)
treee8242de08e3a0e27d86782ea9cc694260411bff1 /src/gui
parentbf835c2e69b3bc37145e572f68554bf771eeec3f (diff)
downloadQt-cbfeb79c80a774166e016e7c879bba465ffc0496.zip
Qt-cbfeb79c80a774166e016e7c879bba465ffc0496.tar.gz
Qt-cbfeb79c80a774166e016e7c879bba465ffc0496.tar.bz2
Doc: Used div elements for floats, updated the style sheet.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/graphicsview/qgraphicsanchorlayout.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout.cpp b/src/gui/graphicsview/qgraphicsanchorlayout.cpp
index 1d1d257..fe0ad86 100644
--- a/src/gui/graphicsview/qgraphicsanchorlayout.cpp
+++ b/src/gui/graphicsview/qgraphicsanchorlayout.cpp
@@ -56,7 +56,9 @@
Items that are anchored are automatically added to the layout, and if items
are removed, all their anchors will be automatically removed.
- \figureleft{simpleanchorlayout-example.png}{Using an anchor layout to align simple colored widgets.}
+ \div {float-left}
+ \inlineimage simpleanchorlayout-example.png Using an anchor layout to align simple colored widgets.
+ \enddiv
Anchors are always set up between edges of an item, where the "center" is also considered to
be an edge. Consider the following example: