From: Peter Rolf <peter.rolf@arcor.de>
Subject: minimal button width
Date: Sat, 27 Sep 2003 15:17:32 +0200 [thread overview]
Message-ID: <3F758DEC.10500@arcor.de> (raw)
I want some small empty buttons with exact dimensions. Is there a way to do
this with \button or must I use fields (ughh) instead?
% interface=en output=pdftex
%
\setupinteraction[state=start]
\setupcolors[state=start]
\starttext
\setupbuttons[strut=no, offset=overlay, framecolor=green, empty=yes]
The minimum width of a button depends on the actual bodyfont size.
I'm sure that there are good reasons for it.
\blank[big]
\switchtobodyfont[20pt]
But I want smaller {\bf empty} \textreference[test]{test}buttons!
\button[width=25mm, height=2.5mm]{Please, print me!}[test]
\button[width=2.5mm, height=25mm]{Not this time!}[test]
\blank[big]
\switchtobodyfont[40pt]
Help at 40pt...
\button[width=25mm, height=2.5mm]{Now?}[test]
\button[width=2.5mm, height=25mm]{Nope!}[test]
\stoptext
Regards,
Peter
next reply other threads:[~2003-09-27 13:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-27 13:17 Peter Rolf [this message]
2003-09-27 13:44 ` Patrick Gundlach
2003-09-28 11:09 ` Peter Rolf
2003-09-28 11:29 ` Patrick Gundlach
2003-09-28 13:35 ` Peter Rolf
2003-09-29 8:20 ` Hans Hagen
2003-09-29 10:13 ` Peter Rolf
2003-09-30 13:13 ` Peter Rolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F758DEC.10500@arcor.de \
--to=peter.rolf@arcor.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).