Browse Source

Make small save manager modal gui tweaks

habeebweeb 4 years ago
parent
commit
cbba9befce
1 changed files with 5 additions and 6 deletions
  1. 5 6
      MultipleMaids/CM3D2/MultipleMaids/Plugin/MultipleMaids.Gui.cs

+ 5 - 6
MultipleMaids/CM3D2/MultipleMaids/Plugin/MultipleMaids.Gui.cs

@@ -9225,9 +9225,9 @@ namespace CM3D2.MultipleMaids.Plugin
 
         private void SaveManagerModal(int winID)
         {
-            GUIStyle labelStyle = new GUIStyle("label");
-            labelStyle.fontSize = GetPix(12);
-            labelStyle.alignment = TextAnchor.MiddleCenter;
+            GUIStyle titleStyle = new GUIStyle("label");
+            titleStyle.fontSize = GetPix(12);
+            titleStyle.alignment = TextAnchor.UpperCenter;
             GUIStyle infoLabelStyle = new GUIStyle("label");
             infoLabelStyle.fontSize = GetPix(13);
             infoLabelStyle.alignment = TextAnchor.MiddleCenter;
@@ -9304,14 +9304,13 @@ namespace CM3D2.MultipleMaids.Plugin
                 : saveScenes[selectedSave].info.Name;
 
             float labelY = previewY + previewHeight + windowPadding;
-            int labelHeight = GetPix(30);
 
             GUI.Label(new Rect(
                 windowPadding,
                 labelY,
                 saveModalRect.width - windowPaddingY,
-                labelHeight
-            ), title, labelStyle);
+                saveModalRect.height - labelY - windowPadding
+            ), title, titleStyle);
 
             int buttonHeight = GetPix(25);
             int buttonWidth = GetPix(80);