Roxen.git/server/modules/graphics/gbutton.pike:18:
// icon-data -- inline icon data
// align -- left|center|right text alignment
// align-icon -- left|center-before|center-after|right icon alignment
// valign-icon -- above|middle|below icon vertical alignment
// >Button text</gbutton>
//
// Alignment restriction: when text alignment is either left or right, icons
// must also be aligned left or right.
- constant cvs_version = "$Id: gbutton.pike,v 1.69 2001/02/20 09:48:09 kuntri Exp $";
+ constant cvs_version = "$Id: gbutton.pike,v 1.70 2001/03/28 09:50:08 kuntri Exp $";
constant thread_safe = 1;
#include <module.h>
inherit "module";
roxen.ImageCache button_cache;
constant module_type = MODULE_TAG;
constant module_name = "GButton";
constant module_doc =
Roxen.git/server/modules/graphics/gbutton.pike:128: Inside #if defined(manual)
</attr>
<attr name='icon-data' value=''><p>
Inline icon data.</p>
</attr>
<attr name='align-icon' value='left|center-before|center-after|right'><p>
Set icon alignment.</p>
<xtable>
- <row><c>left</c><c>Place icon on the left side of the text.</c></row>
- <row><c>center-before</c><c>Center the icon before the text.Requires the <att>align='center'</att> attribute.</c></row>
- <row><c>center-after</c><c>Center the icon after the text. Requires the <att>align='center'</att> attribute.</c></row>
- <row><c>right</c><c>Place icon on the right side of the text.</c></row>
+ <row><c><p>left</p></c><c><p>Place icon on the left side of the text.</p></c></row>
+ <row><c><p>center-before</p></c><c><p>Center the icon before the text.Requires the <att>align='center'</att> attribute.</p></c></row>
+ <row><c><p>center-after</p></c><c><p>Center the icon after the text. Requires the <att>align='center'</att> attribute.</p></c></row>
+ <row><c><p>right</p></c><c><p>Place icon on the right side of the text.</p></c></row>
</xtable>
<p></p>
<ex type='vert'>
<gbutton width='150' align-icon='center-before'
icon-src='internal-roxen-help'>Roxen 2.0</gbutton>
</ex>
<ex type='vert'>
<gbutton width='150' align='center' align-icon='center-after'