summaryrefslogtreecommitdiff
path: root/design/widgets/label.tex
diff options
context:
space:
mode:
authordeva <deva>2009-02-12 15:29:50 +0000
committerdeva <deva>2009-02-12 15:29:50 +0000
commit4137259fa6071d2790173f7935f06465df324264 (patch)
tree5de78862f2aac9a3b409a90e6f4688a1cf477e23 /design/widgets/label.tex
parent34d22d96cb464feef49bb126dafa59bdf8502d94 (diff)
Lots of changes in the widget documentation...
Diffstat (limited to 'design/widgets/label.tex')
-rw-r--r--design/widgets/label.tex8
1 files changed, 7 insertions, 1 deletions
diff --git a/design/widgets/label.tex b/design/widgets/label.tex
index 436fee5..b7f186e 100644
--- a/design/widgets/label.tex
+++ b/design/widgets/label.tex
@@ -1,6 +1,8 @@
% -*- coding: utf-8 -*-
\subsubsection{\texttt{label} elementet}
-En label benyttes til at indsætte beskrivejnde tekst i makroen.\\
+En label benyttes til at indsætte tekst i makroen.\\
+En label med tom \textit{caption} attribut kan bruges for at indsætte
+et mellemrum mellem to widgets.\\
En label har flg. attributter:
\begin{itemize}
\item \textit{caption} - Den tekst som skal vises i labelen. Hvis
@@ -8,3 +10,7 @@ En label har flg. attributter:
\item \textit{alignment} - Justeringen af teksten. Kan have værdierne
``left'', ``right'' eller ``center''. Hvis udeladt benyttes ``left''.
\end{itemize}
+
+\begin{lstlisting}[title={Et eksempel på et label tag.}]
+<label caption="Foo Bar"/>
+\end{lstlisting}