Commit d303ca3f authored by David Boddie's avatar David Boddie

Use a directive to center rows of images

parent fe54a2cb
......@@ -14,13 +14,15 @@ with two leaflets. One is used for the title bar, the other for the window
contents. When the window is resized or updated, the leaflets adapt and remain
in sync with each other.
.. image:: images/two-leaflets1.png
.. |image1| image:: images/two-leaflets1.png
:scale: 25%
:alt: A screenshot of the application running in the phone environment
.. image:: images/two-leaflets2.png
.. |image2| image:: images/two-leaflets2.png
:scale: 25%
:alt: A screenshot of the application running in the phone environment
.. centered:: |image1| |image2|
The main source code for the application can be found in the ``main.py`` file
within the ``src`` directory. The purpose of the other files is explained in
other tutorials, such as :ref:`First_Application`.
......
......@@ -10,16 +10,18 @@ additional features.
You should read the :ref:`First_Application` tutorial before this one because
it covers the basic foundations of an application in more detail.
.. image:: images/title-bar.png
.. |image1| image:: images/title-bar.png
:scale: 25%
:alt: A screenshot of part 1 running in the phone environment
.. image:: images/leaflet.png
.. |image2| image:: images/leaflet.png
:scale: 25%
:alt: A screenshot of part 2 running in the phone environment
.. image:: images/two-leaflets2.png
.. |image3| image:: images/two-leaflets2.png
:scale: 25%
:alt: A screenshot of part 3 running in the phone environment
.. centered:: |image1| |image2| |image3|
We will briefly describe how to obtain the applications for each part of the
tutorial, then cover the parts of the application that are related to the user
interface. Instructions for building and packaging the applications are also
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment