Skip to content

Commit

Permalink
UI adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
vyshnovka committed Feb 13, 2024
1 parent ebf2e0b commit 089a653
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Assets/Scenes/Generation.unity
Original file line number Diff line number Diff line change
Expand Up @@ -515,11 +515,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c67a82e143bb92d4c98467f2a3b849ee, type: 3}
m_Name:
m_EditorClassIdentifier:
selectedAlgorithmType: 0
terrain: {fileID: 305544099}
size: 512
gradientType: 2
texture: {fileID: 2800000, guid: e6ff0d19c97771446a91455cd7547bea, type: 3}
selectedAlgorithmType: 0
selectedSize: 32
selectedGradientType: 0
grayscale:
serializedVersion: 2
key0: {r: 0, g: 0, b: 0, a: 1}
Expand Down
2 changes: 1 addition & 1 deletion Assets/UI Toolkit/CommonUI.uxml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ui:GroupBox>
<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>
<ui:VisualElement name="Result" style="width: 20%; height: 35%; justify-content: space-around;">
<ui:VisualElement name="Result" style="width: 20%; height: 35%; justify-content: space-around; 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); background-color: rgba(255, 255, 255, 0.04);">
<ui:VisualElement name="Texture" style="flex-grow: 1; width: 100%; background-image: url(&apos;project://database/Assets/Terrain/TerrainTexture.png?fileID=2800000&amp;guid=e6ff0d19c97771446a91455cd7547bea&amp;type=3#TerrainTexture&apos;); -unity-background-scale-mode: scale-to-fit; height: 80%;" />
<ui:VisualElement name="ButtonsContainer" style="flex-grow: 1; flex-direction: row; justify-content: space-around; height: 20%; align-items: flex-end;">
<ui:Button text="SAVE" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Save" class="smallButton textSmall" style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-left: 0; margin-bottom: 0; margin-right: 0; margin-top: 0;" />
Expand Down

0 comments on commit 089a653

Please sign in to comment.