Add right-pane for item descriptions

This commit is contained in:
Irastris
2026-04-27 22:00:18 -04:00
parent e39079c0f8
commit b3333241c5
3 changed files with 45 additions and 2 deletions
+16
View File
@@ -266,6 +266,22 @@ Window::Window(Rml::Element* parent, std::string_view id, std::function<void()>
{"overflow-y", "auto"},
});
m_rightPane = append(m_contentRow, "div");
set_props(m_rightPane, {
{"display", "none"},
{"flex-direction", "column"},
{"box-sizing", "border-box"},
{"min-width", "0"},
{"min-height", "0"},
{"padding-top", "24dp"},
{"padding-bottom", "24dp"},
{"padding-right", "24dp"},
{"padding-left", "8dp"},
{"align-items", "flex-start"},
{"overflow-y", "auto"},
});
apply_pane_layout();
apply_close_style();
}