Repository: lutris/lutris

Issue:
New Lutris splash screen graphic is not aligned properly
### Bug description

The new splash screen is centered in the view area, which is typical but the splash in use has arrows pointing to the add button and services list. These buttons line up only when the window is quite small.

### How to Reproduce

Add a new runner for which you have *no* games. Select it in the runners list. The splash will appear. Resist the temptation to file a bug about the artwork.

Instead, maximize (or just enlarge) the window. Notice that the arrows don't line up with anything anymore.

### Expected behavior

I expected the arrows to line up. I think the graphic needs to be aligned to the top left to do so.

### Log output

```shell
2022-02-26 07:49:58,652: Starting Lutris 0.5.10
2022-02-26 07:49:58,669: No folder at /home/danj/.local/share/lutris/runners/retroarch/
2022-02-26 07:49:58,687: Using NVIDIA drivers 510.54 for x86_64
2022-02-26 07:49:58,688: GPU: Unknown
2022-02-26 07:49:58,688: GPU: 10DE:2503 196E:1377 (nvidia drivers)
2022-02-26 07:49:58,729: Startup complete
2022-02-26 07:50:25,450: Shutting down Lutris
```


### System Information

```shell
[System]
OS:              Pop!_OS 21.10 impish
Arch:            x86_64
Kernel:          5.15.23-76051523-generic
Desktop:         GNOME
Display Server:  x11

[CPU]
Vendor:          AuthenticAMD
Model:           AMD Ryzen 7 5800X 8-Core Processor
Physical cores:  8
Logical cores:   16

[Memory]
RAM:             31.4 GB
Swap:            0.0 GB

[Graphics]
Vendor:          NVIDIA Corporation
OpenGL Renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
OpenGL Version:  4.6.0 NVIDIA 510.54
OpenGL Core:     4.6.0 NVIDIA 510.54
OpenGL ES:       OpenGL ES 3.2 NVIDIA 510.54
Vulkan:          Supported
```


### Media (optional)

![Screenshot from 2022-02-26 07-50-13](https://user-images.githubusercontent.com/6507403/155843996-cdc0a44a-a72d-43a9-ab8b-c8401dbb4cc7.png)


### Checklist:

- [X] I'm not asking for support with a game or the wine runner.
- [X] I have followed the above mentioned guides and have all the graphics and wine dependencies installed.
- [X] I have checked for existing issues that describe my problem prior to opening this one.
- [X] I understand that improperly formatted bug reports may be closed without explanation.


Discussion:

Resolving patch:
diff --git a/lutris/gui/lutriswindow.py b/lutris/gui/lutriswindow.py
--- a/lutris/gui/lutriswindow.py
+++ b/lutris/gui/lutriswindow.py
@@ -464,10 +464,12 @@ def on_zoom_changed(self, adjustment):
             self.save_icon_type(icon_type)
             self.show_spinner()
 
-    def show_overlay(self, widget):
+    def show_overlay(self, widget, halign=Gtk.Align.FILL, valign=Gtk.Align.FILL):
         """Display a widget in the blank overlay"""
         for child in self.blank_overlay.get_children():
             child.destroy()
+        self.blank_overlay.set_halign(halign)
+        self.blank_overlay.set_valign(valign)
         self.blank_overlay.add(widget)
         self.blank_overlay.props.visible = True
 
@@ -478,7 +480,7 @@ def show_label(self, message):
     def show_splash(self):
         image = Gtk.Image(visible=True)
         image.set_from_file(os.path.join(datapath.get(), "media/splash.svg"))
-        self.show_overlay(image)
+        self.show_overlay(image, Gtk.Align.START, Gtk.Align.START)
 
     def show_spinner(self):
         spinner = Gtk.Spinner(visible=True)


Test patch: