11 lines
1.4 KiB
Plaintext
11 lines
1.4 KiB
Plaintext
<engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
|
|
<Style src="project://database/Assets/XR-UIToolkit-Sample/XRI%20Sample/Styles/XRIStyleSheet.uss?fileID=7433441132597879392&guid=3245a7d03283da54db4385c49204e816&type=3#XRIStyleSheet" />
|
|
<engine:VisualElement picking-mode="Ignore" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0.75); color: rgb(255, 255, 255); padding-left: 10px; padding-top: 10px; padding-right: 10px; padding-bottom: 10px;">
|
|
<engine:Label text="Test Scrollview " enable-rich-text="false" style="-unity-text-align: upper-center; font-size: 24px;" />
|
|
<engine:VisualElement name="VisualElement" style="max-width: 95%; max-height: 2px; background-color: rgb(255, 255, 255); align-self: center; min-width: 95%; min-height: 2px;" />
|
|
<engine:ScrollView mode="VerticalAndHorizontal">
|
|
<engine:Label text="You can scroll this window using the scrollbars or with the arrow buttons. Vertical and horizontal scrolling are both supported. This can be modified in the attributes section in the XRIScrollviewSampleDocument.uxml to allow only horizontal or vertical scrolling." style="font-size: 24px;" />
|
|
</engine:ScrollView>
|
|
</engine:VisualElement>
|
|
</engine:UXML>
|