Skip to content

Commit

Permalink
default value of size in UI set
Browse files Browse the repository at this point in the history
  • Loading branch information
vyshnovka committed Feb 16, 2024
1 parent 3fa4d4d commit 48fe241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/UI Toolkit/CommonUI.uxml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ui:VisualElement name="Container" style="width: 100%; height: 100%; flex-direction: row; justify-content: space-between; align-items: flex-start;">
<ui:VisualElement name="Settings" style="width: 23%; height: 35%; background-color: rgba(255, 255, 255, 0.04); justify-content: space-around; align-items: center; color: rgba(123, 123, 123, 0.54); background-image: url(&apos;project://database/Assets/Images/White.png?fileID=21300000&amp;guid=9bce4995469076848b32d0fdf6220e69&amp;type=3#White&apos;); -unity-background-image-tint-color: rgba(255, 255, 255, 0.04);">
<ui:EnumField label="Algorithm Type" type="SharedDefs.AlgorithmType, Assembly-CSharp" name="AlgorithmEnum" class="smallContainer dropdownBox textSmall" />
<ui:EnumField label="Terrain Size" type="SharedDefs.Size, Assembly-CSharp" name="SizeEnum" class="smallContainer dropdownBox textSmall" />
<ui:EnumField label="Terrain Size" type="SharedDefs.Size, Assembly-CSharp" name="SizeEnum" value="_256" class="smallContainer dropdownBox textSmall" />
<ui:EnumField label="Color Scheme" type="SharedDefs.GradientType, Assembly-CSharp" name="GradientEnum" class="smallContainer dropdownBox textSmall" />
<ui:Button text="GENERATE" display-tooltip-when-elided="true" name="Generate" class="textSmall" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 5%; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; width: 40%; height: 15%;" />
</ui:VisualElement>
Expand Down

0 comments on commit 48fe241

Please sign in to comment.