Merge pull request #1184 from Zen-CODE/Doc_English_Improvements_41

doc: revisions to gettingstarted/rules.rst
This commit is contained in:
qua-non 2013-05-07 00:07:16 -07:00
commit 58a9a5d82b
1 changed files with 12 additions and 7 deletions

View File

@ -1,9 +1,11 @@
Kv Design Language
------------------
Kivy provides a design language specifically geared towards ease of GUI Design,
which makes it easier to separate interface design and logic from internal design and
logic. For example:
Kivy provides a design language specifically geared towards easy and scalable
GUI Design. The language makes it simple to separate the interface design from
the application logic, adhering to the
`separation of concerns principle
<http://en.wikipedia.org/wiki/Separation_of_concerns>`_. For example:
.. image:: ../images/gs-lang.png
:align: center
@ -13,9 +15,12 @@ In the above code :
.. code-block:: kv
<LoginScreen>: # every class in your app can be represented by a rule like this in the kv file
GridLayout: # this is how you add your widget/layout to the parent (note the indentation).
<LoginScreen>: # every class in your app can be represented by a rule like
# this in the kv file
GridLayout: # this is how you add your widget/layout to the parent
# (note the indentation).
rows: 2 # this how you set each property of your widget/layout
That's it, that's how simple it is to design your GUI in the kv language. To get a
more in-depth understanding look at :doc:`/guide/lang`
That's it, that's how simple it is to design your GUI in the kv language. To get
a more in-depth understanding, please refer to the :doc:`/guide/lang`
documentation.