[ui] replace host session window with compact edge controls

This commit is contained in:
dijunkun
2026-10-09 05:44:10 +08:00
parent 9d613a5a13
commit 1d47256cbc
10 changed files with 552 additions and 306 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { ComboBox, ScrollView } from "std-widgets.slint";
import { FontAwesomeIcons, IconButton, PrimaryButton, DialogSurface, ImGuiLineStyle, ImGuiFontStyle } from "common.slint";
import { FontAwesomeIcons, IconButton, PrimaryButton, DialogSurface, ImGuiLineStyle, ImGuiFontStyle, FloatingBarStyle } from "common.slint";
export struct StreamTab {
remote-id: string,
@@ -810,7 +810,7 @@ export component StreamWindow inherits Window {
background: white;
border-width: 1px;
border-color: ImGuiLineStyle.border;
border-radius: 6px;
border-radius: FloatingBarStyle.corner-radius;
z: 8;
clip: true;
// Keep width changes atomic. When docked right, animating both