Repository: lutris/lutris

Issue:
Preferences dialog content is too wide for the dialog
### Bug description

The actual content of the preferences dialog is unreasonably wide, and requires horizontal scrolling in the preferences window, at its default size.

I think the basic problem is that several labels need to word wrap so they don't "prop the window open" as it were.

### How to Reproduce

Open the preferences dialog and select the "Runners" section.

Try to click on any of the install or remove buttons. You can't! They are off screen to the right; you have to scroll.

### Expected behavior

The content of the preferences dialog should not be so wide- it is mostly whitespace.

### Log output

```shell
INFO     2021-12-24 09:53:05,361 [startup.init_lutris:161]:Starting Lutris 0.5.9.1
WARNING  2021-12-24 09:53:05,366 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,366 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,366 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,367 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,376 [libretro.get_libretro_cores:48]:No cores found
WARNING  2021-12-24 09:53:05,388 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,388 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,388 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,389 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
INFO     2021-12-24 09:53:05,392 [startup.check_driver:54]:Using NVIDIA drivers 470.86 for x86_64
INFO     2021-12-24 09:53:05,392 [startup.check_driver:58]:GPU: NVIDIA GeForce RTX 3060
INFO     2021-12-24 09:53:05,392 [startup.check_driver:74]:GPU: 10DE:2503 196E:1377 (nvidia drivers)
DEBUG    2021-12-24 09:53:05,432 [http.get:81]:GET https://lutris.net/api/runtimes?enabled=1
DEBUG    2021-12-24 09:53:05,592 [http.get:81]:GET https://lutris.net/api/runtimes/icons
DEBUG    2021-12-24 09:53:05,748 [http.get:81]:GET https://api.github.com/repos/lutris/dxvk/releases
ERROR    2021-12-24 09:53:05,823 [http.download_file:172]:Failed to get url https://api.github.com/repos/lutris/dxvk/releases: HTTP Error 403: rate limit exceeded
WARNING  2021-12-24 09:53:05,823 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,823 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
DEBUG    2021-12-24 09:53:05,823 [http.get:81]:GET https://api.github.com/repos/lutris/dxvk-nvapi/releases
ERROR    2021-12-24 09:53:05,881 [http.download_file:172]:Failed to get url https://api.github.com/repos/lutris/dxvk-nvapi/releases: HTTP Error 403: rate limit exceeded
WARNING  2021-12-24 09:53:05,881 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,881 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
DEBUG    2021-12-24 09:53:05,881 [http.get:81]:GET https://api.github.com/repos/lutris/vkd3d/releases
ERROR    2021-12-24 09:53:05,959 [http.download_file:172]:Failed to get url https://api.github.com/repos/lutris/vkd3d/releases: HTTP Error 403: rate limit exceeded
WARNING  2021-12-24 09:53:05,959 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:05,959 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
DEBUG    2021-12-24 09:53:05,959 [http.get:81]:GET https://api.github.com/repos/lutris/d3d_extras/releases
ERROR    2021-12-24 09:53:06,016 [http.download_file:172]:Failed to get url https://api.github.com/repos/lutris/d3d_extras/releases: HTTP Error 403: rate limit exceeded
WARNING  2021-12-24 09:53:06,016 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,016 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
DEBUG    2021-12-24 09:53:06,016 [http.get:81]:GET https://api.github.com/repos/lutris/dgvoodoo2/releases
ERROR    2021-12-24 09:53:06,073 [http.download_file:172]:Failed to get url https://api.github.com/repos/lutris/dgvoodoo2/releases: HTTP Error 403: rate limit exceeded
WARNING  2021-12-24 09:53:06,074 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,074 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
INFO     2021-12-24 09:53:06,074 [startup.update_runtime:189]:Startup complete
WARNING  2021-12-24 09:53:06,142 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,142 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,142 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,143 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,143 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,143 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,143 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,143 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,143 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,143 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,143 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,143 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,143 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,144 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,144 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,152 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,152 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,152 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,152 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,152 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,152 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,152 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,152 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,153 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,153 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,153 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,153 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,153 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,153 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,153 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,351 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,351 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,351 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,351 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,351 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,351 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,351 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,351 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,351 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,352 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,352 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,352 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,352 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,352 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:06,352 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
DEBUG    2021-12-24 09:53:06,360 [lutriswindow.update_store:464]:Showing 25 games
DEBUG    2021-12-24 09:53:11,837 [application.show_window:262]:Showing window <class 'lutris.gui.config.preferences_dialog.PreferencesDialog'>{}
WARNING  2021-12-24 09:53:11,936 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,936 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,936 [dll_manager.versions:38]:Loading of DXVK versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,936 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,936 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,936 [dll_manager.versions:38]:Loading of VKD3D versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,937 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,937 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,937 [dll_manager.versions:38]:Loading of D3D Extras versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,937 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,937 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,937 [dll_manager.versions:38]:Loading of DXVK-NVAPI versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,937 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,937 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
WARNING  2021-12-24 09:53:11,937 [dll_manager.versions:38]:Loading of dgvoodoo2 versions failed, defaulting to locally available versions
DEBUG    2021-12-24 09:53:29,276 [application.on_app_window_destroyed:279]:Removed window <class 'lutris.gui.config.preferences_dialog.PreferencesDialog'>{}
INFO     2021-12-24 09:53:30,153 [application.do_shutdown:641]:Shutting down Lutris
```


### System Information

```shell
[System]
OS:              Pop!_OS 21.10 impish
Arch:            x86_64
Kernel:          5.15.8-76051508-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 470.86
OpenGL Core:     4.6.0 NVIDIA 470.86
OpenGL ES:       OpenGL ES 3.2 NVIDIA 470.86
Vulkan:          Supported
```


### Media (optional)

![Screenshot from 2021-12-24 09-53-23](https://user-images.githubusercontent.com/6507403/147360916-6f3612d4-43cd-4efb-bd4e-91f8b63e957e.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/config/preferences_dialog.py b/lutris/gui/config/preferences_dialog.py
--- a/lutris/gui/config/preferences_dialog.py
+++ b/lutris/gui/config/preferences_dialog.py
@@ -17,7 +17,7 @@ class PreferencesDialog(GameDialogCommon):
     def __init__(self, parent=None):
         super().__init__(_("Lutris settings"), parent=parent)
         self.set_border_width(0)
-        self.set_default_size(960, 600)
+        self.set_default_size(1010, 600)
         self.lutris_config = LutrisConfig()
 
         hbox = Gtk.HBox(visible=True)


Test patch: