Files
RebootKit/Runtime/Engine/Assets/UI/ui_console.uxml
2025-03-30 16:06:57 +02:00

26 lines
2.2 KiB
Plaintext

<engine:UXML xmlns:engine="UnityEngine.UIElements"
noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<engine:VisualElement
style="flex-grow: 1; background-color: rgba(176, 137, 137, 0); max-height: 100%; max-width: none; height: 100%;">
<engine:VisualElement name="console-window" enabled="true" class="window-bg"
style="flex-grow: 1; text-shadow: 0 0 0 rgba(255, 255, 255, 0); position: relative; width: 100%; height: 50%; max-height: 50%; -unity-background-image-tint-color: rgb(255, 255, 255); background-color: rgb(33, 33, 33);">
<engine:VisualElement name="VisualElement" enabled="true" class="window-content rr-base"
style="flex-grow: 1; align-content: stretch; align-self: auto; justify-content: flex-start; align-items: stretch;">
<engine:ScrollView name="console-scrollview" class="rr-scroll-view"
style="max-height: none; height: 100%;">
<engine:Label
text="Label&#10;&#10;&#10;&#10;&#10;&#10;asd&#10;&#10;&#10;as&#10;asf&#10;asfasf&#10;asf&#10;asf&#10;asf&#10;afs&#10;asf&#10;asf&#10;asf&#10;"
name="console-window-message"/>
</engine:ScrollView>
<engine:VisualElement name="console-bottomrow"
style="flex-grow: 1; flex-basis: auto; flex-direction: row; align-items: center; justify-content: flex-end; align-self: stretch; align-content: stretch; flex-wrap: nowrap; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 4px;">
<engine:TextField name="console-text-field" value="awsdsad" class="rr-text-field rr-base"
style="width: auto; flex-basis: auto; flex-grow: 1;"/>
<engine:Button text="Submit" name="console-btn-submit" class="rr-button"/>
<engine:Button text="Clear" name="console-btn-clear" class="rr-button-destructive"/>
</engine:VisualElement>
</engine:VisualElement>
</engine:VisualElement>
</engine:VisualElement>
</engine:UXML>