Skip to content

Commit cefa000

Browse files
authored
Merge pull request #10 from VRLabs/1.0-updates
Fixed buttons size in the migrator window
2 parents 836de6c + d746223 commit cefa000

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Editor/Editors/Windows/Migrator.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,14 @@ private void SetupImport(VisualElement importRoot)
232232

233233
var importButton = new Button();
234234
importButton.text = "Import";
235+
importButton.style.minHeight = 22;
236+
importButton.style.height = 22;
235237
importButton.SetEnabled(false);
236238
importButton.clicked += () => Import(assets);
237239

238240
var loadButton = new Button();
241+
loadButton.style.minHeight = 22;
242+
loadButton.style.height = 22;
239243
loadButton.text = "Load file";
240244
loadButton.clicked += () =>
241245
{
@@ -489,6 +493,8 @@ private void SetupExport(VisualElement exportRoot)
489493
}
490494

491495
var bottomRow = new VisualElement();
496+
bottomRow.style.minHeight = 26;
497+
bottomRow.style.height = 26;
492498
bottomRow.style.flexDirection = FlexDirection.Row;
493499

494500
var b = new Button();

0 commit comments

Comments
 (0)