Copyright 2010-2017 Obihai Technology, Inc.
139
<text1>
Required:
Optional: width, height,
xpos, ypos, font, size,
textcolor, align, valign,
hidden
This optional child element of <style> specifies the style to render the
TextLine1 component of the referencing Line Key screen tile.
<text2>
Required:
Optional: width, height,
xpos, ypos, align, valign,
hidden
This optional child element of <style> specifies the style to render the
TextLine2 component of the referencing Line Key screen tile.
<icon>
Required:
Optional: width, height,
xpos, ypos, align, valign,
hidden
This optional child element of <style> specifies the style to render the
Icon component of the referencing Line Key screen tile
<text3>
Required:
Optional: width, height,
xpos, ypos, font, size,
align, textcolor, align,
hidden, bgimg, bgolor,
border
This optional child element of <style> specifies the style to render the
supplementary text overlay on the referencing Line Key screen tile. This
element only applies if the function assigned to t
he Line Key is “Call
Appearance
”
where the supplementary text shown is the number of
active calls on the key
Attributes in a <LineKeyStyles> XML
Attribute
Elements
Description
xpos
<LineKeyStyles>,
<style>, <label>, <icon>
x position of the upper left corner pixel of the bounding box within the
parent bounding box
ypos
<LineKeyStyles>,
<style>, <label>, <icon>
y position of the upper left corner pixel of the bounding box within the
parent bounding box
align
<label>, <icon>,
<icon2>
Horizontal alignment of the widget within its own bounding box. Note
that the bounding box’s own location within its parent bounding box is
determined by the xpos and ypos attributes
valign
<label>, <icon>,
<icon2>
Vertical alignment of the widget within its own bounding box
width
<LineKeyStyles>,
<style>, <label>,
<icon>, <icon2>
Width of the bounding box
height
<LineKeyStyles>,
<style>, <label>,
<icon>, <icon2>
Height of the bounding box
bgcolor
<LineKeyStyles>,
<style>
Background color or color pattern for the Line Key screen tile. Note that
if bgimg is specified and available, it will cover the background color.
Example:
<style bgimg="" bgcolor="white,blue,0" border="2">
Note that we set bgimg to empty string to overwrite the default bgimg;
otherwise the bgcolor will be covered by the default bgimg.
bgimg
<LineKeyStyles>,
<style>
Background image. It can be an internal path or a http/https URL
id
<style>
The ID to refer to this style in the Style field of a Line Key parameter
font
<LineKeyStyles>,
<style>, <label>
Text font (the value can only be "@gfont" or "@gfont-bold")
size
<LineKeyStyles>,
<style>, <label>
Text size
textcolor
<LineKeyStyles>,
Text color