Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AppCoreUnityAdapter
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
AppCore
AppCoreUnityAdapter
Commits
98f7915b
Commit
98f7915b
authored
1 year ago
by
Zakhar Pustovgarov
Browse files
Options
Downloads
Patches
Plain Diff
Changed font changing on hover in TypTreeView to color change
parent
c56b7a9b
Branches
v0.8-dev
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Editor/EntityAdapter/Resources/EntityGraph/EntityGraph.uxml
+22
-7
22 additions, 7 deletions
Editor/EntityAdapter/Resources/EntityGraph/EntityGraph.uxml
Editor/Resources/USS/TypeTreeViewStyles.uss
+2
-2
2 additions, 2 deletions
Editor/Resources/USS/TypeTreeViewStyles.uss
with
24 additions
and
9 deletions
Editor/EntityAdapter/Resources/EntityGraph/EntityGraph.uxml
+
22
−
7
View file @
98f7915b
<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="True">
<Style src="project://database/Assets/Krem/AppCoreUnityAdapter/Editor/Resources/USS/CommonStyles.uss?fileID=7433441132597879392&guid=5871033ab84ff024ba7af3720684ec95&type=3#CommonStyles" />
<Style src="project://database/Assets/Krem/AppCoreUnityAdapter/Editor/Resources/USS/TypeTreeViewStyles.uss?fileID=7433441132597879392&guid=3bac9086b644bbc4aaf977cbda0ab947&type=3#TypeTreeViewStyles" />
<Krem.AppCore.Adapter.Unity.Views.SplitView fixed-pane-initial-dimension="300" name="MainGraph">
<ui:VisualElement name="Left" style="width: 300px; background-color: rgb(46, 46, 46); flex-grow: 1; min-width: 300px;">
<ui:Label text="Inspector" display-tooltip-when-elided="true" style="background-color: rgb(38, 38, 38);" />
<ui:ScrollView scroll-deceleration-rate="0,135" elasticity="0,1">
<Krem.AppCore.Adapter.Unity.Views.InspectorView style="align-items: stretch; flex-grow: 0; max-height: none; min-width: auto; width: auto;" />
</ui:ScrollView>
</ui:VisualElement>
<ui:VisualElement name="Right" style="flex-shrink: 1; min-width: auto; flex-direction: row;">
<ui:VisualElement name="Left" style="flex-shrink: 1; min-width: auto; flex-direction: row;">
<Krem.AppCore.Adapter.Unity.EntityAdapter.Views.EntityGraphView focusable="true" style="flex-grow: 1; align-items: stretch; justify-content: flex-start; flex-direction: column;">
<ui:Label text="Entity Graph" display-tooltip-when-elided="true" style="flex-grow: 0; flex-direction: column; right: 0; background-color: rgb(38, 38, 38);" />
<uie:Toolbar />
</Krem.AppCore.Adapter.Unity.EntityAdapter.Views.EntityGraphView>
</ui:VisualElement>
<ui:VisualElement name="Right" style="flex-grow: 1;">
<ui:VisualElement name="InnerRight" class="wrapper-background" style="flex-grow: 1; min-width: 200px; max-width: none; width: auto;">
<ui:Label text="Actions" display-tooltip-when-elided="true" class="title-label" />
<Krem.AppCore.Adapter.Unity.Views.SplitView orientation="Vertical" fixed-pane-initial-dimension="150" fixed-pane-index="1">
<ui:VisualElement name="TreeWrapper" class="tree-wrapper-element wrapper-background">
<ui:VisualElement name="Tabs" style="flex-grow: 0; background-color: rgb(38, 38, 38); flex-direction: row; align-self: auto; border-left-color: rgba(0, 0, 0, 0); border-right-color: rgba(0, 0, 0, 0); border-top-color: rgba(0, 0, 0, 0); border-bottom-color: rgba(0, 0, 0, 0); margin-left: 1px; min-width: 100%; min-height: 35px; display: none;">
<ui:Button text="Handles" display-tooltip-when-elided="true" name="HandleTabButton" class="tab-button tab-button-active" />
<ui:Button text="Systems" display-tooltip-when-elided="true" name="SystemTabButton" class="tab-button tab-button-inactive" />
</ui:VisualElement>
<ui:VisualElement name="HandlesTreeWrapper" class="tree-wrapper-element" style="display: none;" />
<ui:VisualElement name="SystemsTreeWrapper" style="flex-grow: 1; display: none;" />
</ui:VisualElement>
<ui:VisualElement name="ServiceInfoWrapper" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); min-height: 15%;">
<ui:Label tabindex="-1" text="Info" display-tooltip-when-elided="true" name="InfoTitle" class="title-label" style="border-left-color: rgba(38, 38, 38, 0); border-right-color: rgba(38, 38, 38, 0); border-top-color: rgba(38, 38, 38, 0); border-bottom-color: rgba(38, 38, 38, 0); color: rgb(255, 255, 255);" />
<ui:Label tabindex="-1" display-tooltip-when-elided="true" name="InfoText" style="flex-grow: 1; color: rgb(255, 255, 255); font-size: 13px; -unity-text-align: upper-left; padding-right: 2px; padding-left: 5px; margin-top: 6px; white-space: normal;" />
</ui:VisualElement>
</Krem.AppCore.Adapter.Unity.Views.SplitView>
</ui:VisualElement>
</ui:VisualElement>
</Krem.AppCore.Adapter.Unity.Views.SplitView>
<ui:VisualElement name="BrokenGraphCaption" tabindex="0" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; -unity-background-image-tint-color: rgb(0, 0, 0); flex-grow: 1; width: 100%; height: 100%; background-color: rgb(0, 0, 0); display: flex; visibility: hidden;">
<ui:Label text="Graph is Broken" display-tooltip-when-elided="true" style="top: 43%; align-items: center; color: rgb(253, 63, 69); font-size: 95px; -unity-text-align: upper-center;" />
...
...
This diff is collapsed.
Click to expand it.
Editor/Resources/USS/TypeTreeViewStyles.uss
+
2
−
2
View file @
98f7915b
...
...
@@ -5,7 +5,7 @@ TypeTreeView ObjectLabel:hover
TypeTreeView ObjectLabel:hover Label.unity-text-element.unity-label
{
font-size: 13px
;
color: rgba(152, 255, 105, 1)
;
}
TypeTreeView ObjectFoldout:hover
...
...
@@ -15,5 +15,5 @@ TypeTreeView ObjectFoldout:hover
TypeTreeView .unity-base-field__input:hover > Label.unity-text-element.unity-label
{
font-size: 13px
;
color: rgba(152, 255, 105, 1)
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment