Skip to content

Commit c9eddb2

Browse files
committed
Fix EditWindows Category dropdown height
1 parent 5ebcc80 commit c9eddb2

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

Assets/AssetBundles/AssetBundles

1 Byte
Binary file not shown.

Assets/AssetBundles/AssetBundles.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ManifestFileVersion: 0
2-
CRC: 3231446360
2+
CRC: 1128957987
33
AssetBundleManifest:
44
AssetBundleInfos:
55
Info_0:
81 Bytes
Binary file not shown.

Assets/AssetBundles/microengineer_flightui.bundle.manifest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
ManifestFileVersion: 0
2-
CRC: 743751690
2+
CRC: 1759416276
33
Hashes:
44
AssetFileHash:
55
serializedVersion: 2
6-
Hash: 6b5eab310d0f6b0cd9737949f0cada36
6+
Hash: ca92182591fd551bd3f5f9e1c339f046
77
TypeTreeHash:
88
serializedVersion: 2
99
Hash: 3da58612f9551b4ca6692124ee68c015
Binary file not shown.

Assets/MicroEngineer/UI/EditWindows.uxml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
2-
<Style src="Flight.uss" />
2+
<Style src="project://database/Assets/MicroEngineer/UI/Flight.uss?fileID=7433441132597879392&amp;guid=68eb01bc1af54d0439ac0a84afc89355&amp;type=3#Flight" />
33
<ui:VisualElement name="root" class="edit-window__root">
44
<ui:VisualElement name="header" class="edit-window__header" style="padding-left: 25px;">
55
<ui:Label text="AVAILABLE" display-tooltip-when-elided="true" style="flex-grow: 1; -unity-text-align: upper-center; color: rgb(237, 208, 147);" />
@@ -14,7 +14,8 @@
1414
<ui:VisualElement name="body" class="edit-window__body" style="flex-shrink: 0; flex-direction: column; padding-right: 5px; padding-left: 25px;">
1515
<ui:VisualElement name="body-header" style="width: 100%; flex-direction: row; justify-content: space-between; align-items: center;">
1616
<ui:VisualElement name="category-container" style="flex-grow: 1; background-color: rgb(28, 34, 42); flex-shrink: 1; width: 100%; border-top-left-radius: 5px; border-top-right-radius: 5px; align-items: center; height: 100%; padding-bottom: 5px;">
17-
<ui:DropdownField label="Category:" index="-1" name="category__dropdown" choices="Orbital,Misc,Body" style="display: flex; flex-direction: column; align-items: center; width: 60%; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;" />
17+
<ui:DropdownField label="Category:" name="category__dropdown" choices="Orbital,Misc,Body" index="-1" style="display: flex; flex-direction: column; align-items: center; width: 60%; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0;" />
18+
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 100%;" />
1819
</ui:VisualElement>
1920
<ui:VisualElement name="middle-column" class="edit-window__middle-column" style="flex-shrink: 0; flex-grow: 0; width: 80px; height: 100%;" />
2021
<ui:VisualElement name="window-container" style="flex-grow: 1; background-color: rgb(28, 34, 42); flex-shrink: 1; width: 100%; align-items: center; height: 100%; padding-bottom: 5px; flex-direction: column;">

Assets/MicroEngineer/UI/Flight.uss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@
972972
}
973973

974974
.edit-windows__entry__increase-decimal-background {
975-
background-image: url('Images/increase-decimal-19.png');
975+
background-image: url('project://database/Assets/MicroEngineer/UI/Images/increase-decimal-19.png?fileID=21300000&guid=e8eb722b8364c604f8bb57fe1fbb2c7c&type=3#increase-decimal-19');
976976
width: 100%;
977977
height: 100%;
978978
}
@@ -1007,7 +1007,7 @@
10071007
.edit-windows__entry__decrease-decimal-background {
10081008
width: 100%;
10091009
height: 100%;
1010-
background-image: url('Images/decrease-decimal-19.png');
1010+
background-image: url('project://database/Assets/MicroEngineer/UI/Images/decrease-decimal-19.png?fileID=21300000&guid=76b60bc40118807459036d0b8c4b9710&type=3#decrease-decimal-19');
10111011
}
10121012

10131013
.edit-windows__entry__decrease-decimal-background:disabled {
@@ -1090,3 +1090,7 @@
10901090
border-bottom-color: var(--yellowish-translucent);
10911091
color: var(--light-blue);
10921092
}
1093+
1094+
.unity-popup-field__input {
1095+
height: 20px;
1096+
}

0 commit comments

Comments
 (0)