diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-10-27 09:55:12 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-10-27 09:55:12 +0100 |
commit | 9767eeb304937c1e8dc3aafd172d96393ad07c63 (patch) | |
tree | a808b823a3c24653b067f52c12495a7d77e08714 /src | |
parent | 2399e713df38bd29568fd1953629f2054a86e6f1 (diff) | |
download | arctica-greeter-9767eeb304937c1e8dc3aafd172d96393ad07c63.tar.gz arctica-greeter-9767eeb304937c1e8dc3aafd172d96393ad07c63.tar.bz2 arctica-greeter-9767eeb304937c1e8dc3aafd172d96393ad07c63.zip |
Logo: Reduce spacing between logo text and version, shrink version string.
Diffstat (limited to 'src')
-rw-r--r-- | src/logo-generator.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logo-generator.vala b/src/logo-generator.vala index 7024140..23a45d2 100644 --- a/src/logo-generator.vala +++ b/src/logo-generator.vala @@ -30,11 +30,11 @@ public class Main : Object context.set_source_rgb (0.7, 0.7, 0.7); context.translate (logo.get_width(), logo.get_height()); - context.move_to (10, -24); + context.move_to (0.2*logo.get_height(),-24); var font_description = new Pango.FontDescription(); font_description.set_family("Droid Sans"); - font_description.set_size((int)(0.4*logo.get_height() * Pango.SCALE)); + font_description.set_size((int)(0.35*logo.get_height() * Pango.SCALE)); var layout = Pango.cairo_create_layout (context); layout.set_font_description (font_description); layout.set_spacing (10); |