From b85ba0470c19971508a30e04b2d83a33182f2774 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Wed, 23 Nov 2016 07:42:58 +0500 Subject: [PATCH] Fixed rendering of logo on launch button. Also, made this logo smaller to beautify interface. --- ui/mainwindow_init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/mainwindow_init.go b/ui/mainwindow_init.go index bccd10e..c5acecd 100644 --- a/ui/mainwindow_init.go +++ b/ui/mainwindow_init.go @@ -149,7 +149,7 @@ func (m *MainWindow) Initialize() { m.launch_button = gtk.NewButtonWithLabel("Launch!") m.launch_button.SetTooltipText("Launch Urban Terror") m.launch_button.Clicked(m.launchGame) - launch_button_image := gtk.NewImageFromPixbuf(logo.ScaleSimple(32, 32, gdkpixbuf.INTERP_NEAREST)) + launch_button_image := gtk.NewImageFromPixbuf(logo.ScaleSimple(24, 24, gdkpixbuf.INTERP_HYPER)) m.launch_button.SetImage(launch_button_image) profile_and_launch_hbox.PackStart(m.launch_button, false, true, 5)