This commit is contained in:
parent
5d7530adef
commit
90de0962a4
|
@ -27,6 +27,12 @@ namespace BITKit.UX
|
||||||
{
|
{
|
||||||
RegisterCallback<AttachToPanelEvent>(OnAttachToPanel);
|
RegisterCallback<AttachToPanelEvent>(OnAttachToPanel);
|
||||||
RegisterCallback<DetachFromPanelEvent>(OnDetachFromPanel);
|
RegisterCallback<DetachFromPanelEvent>(OnDetachFromPanel);
|
||||||
|
RegisterCallback<GeometryChangedEvent>(OnGeometryChanged);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnGeometryChanged(GeometryChangedEvent evt)
|
||||||
|
{
|
||||||
|
Rebuild();
|
||||||
}
|
}
|
||||||
|
|
||||||
public string TabPath
|
public string TabPath
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net.Sockets.Kcp;
|
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UIElements;
|
using UnityEngine.UIElements;
|
||||||
|
|
|
@ -445,3 +445,23 @@ Foldout Toggle Label {
|
||||||
background-color: rgb(58, 58, 58);
|
background-color: rgb(58, 58, 58);
|
||||||
color: rgb(255, 255, 255);
|
color: rgb(255, 255, 255);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Button.clear {
|
||||||
|
background-color: rgba(0, 0, 0, 0);
|
||||||
|
margin-top: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
margin-left: 0;
|
||||||
|
padding-top: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-left: 0;
|
||||||
|
border-top-width: 0;
|
||||||
|
border-right-width: 0;
|
||||||
|
border-bottom-width: 0;
|
||||||
|
border-left-width: 0;
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue