aboutsummaryrefslogtreecommitdiff
path: root/data/icon.svg.in
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-06-05 20:45:45 -0400
committerWilliam Hua <william.hua@canonical.com>2013-06-05 20:45:45 -0400
commit91ddc799bd01ce206e2822ae4b6c58b087efc6b6 (patch)
tree825bb36978c56d40980be45c7fb09bacef60fc59 /data/icon.svg.in
parent97e9428331438a66fb78696b736d7046e96889cb (diff)
downloadayatana-indicator-keyboard-91ddc799bd01ce206e2822ae4b6c58b087efc6b6.tar.gz
ayatana-indicator-keyboard-91ddc799bd01ce206e2822ae4b6c58b087efc6b6.tar.bz2
ayatana-indicator-keyboard-91ddc799bd01ce206e2822ae4b6c58b087efc6b6.zip
Align text within icons properly.
Diffstat (limited to 'data/icon.svg.in')
-rw-r--r--data/icon.svg.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/data/icon.svg.in b/data/icon.svg.in
index e223c017..672cd131 100644
--- a/data/icon.svg.in
+++ b/data/icon.svg.in
@@ -1 +1,11 @@
-<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" width="22" height="22"><defs><mask id="m"><rect x="0" y="0" width="22" height="22" style="fill:white"/><text x="@LAYOUT_X@" y="@LAYOUT_Y@" style="font-size:12px;font-weight:500;fill:black;font-family:Ubuntu">@LAYOUT@</text></mask></defs><rect x="0" y="0" width="22" height="22" rx="4" mask="url(#m)" style="fill:@COLOUR@"/></svg>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<svg version="1.1" width="@WIDTH@" height="@HEIGHT@">
+ <defs>
+ <mask id="m">
+ <rect x="0" y="0" width="@WIDTH@" height="@HEIGHT@" style="fill:white" />
+ <text x="@LAYOUT_X@" y="@LAYOUT_Y@" style="@LAYOUT_FONT@;fill:black">@LAYOUT@</text>
+ </mask>
+ </defs>
+ <rect x="0" y="0" width="@WIDTH@" height="@HEIGHT@" rx="@RADIUS@" mask="url(#m)" style="fill:@COLOUR@" />
+</svg>