1
0
Fork 0

Slightly reduce SC GUI height

This makes the bottom edge align better.
This commit is contained in:
Robbert van der Helm 2023-03-20 15:55:48 +01:00
parent 3600951159
commit 48d8ff9275

View file

@ -36,7 +36,7 @@ const EXPANDED_GUI_WIDTH: u32 = 1360;
/// The width of the GUI's main part containing the controls.
const COLLAPSED_GUI_WIDTH: u32 = 680;
/// The entire GUI's height, in logical pixels.
const GUI_HEIGHT: u32 = 535;
const GUI_HEIGHT: u32 = 530;
// I couldn't get `LayoutType::Grid` to work as expected, so we'll fake a 4x4 grid with
// hardcoded column widths
const COLUMN_WIDTH: Units = Pixels(330.0);