1 Commits

Author SHA1 Message Date
Steve Lau
9de13ce397 feat: new config ui.hide_scrollbar 2025-12-25 16:07:55 +08:00
3 changed files with 5 additions and 1 deletions

View File

@@ -172,4 +172,4 @@ windows = { version = "0.61", features = ["Win32_Foundation", "Win32_System_Com"
windows-sys = { version = "0.61", features = ["Win32", "Win32_System", "Win32_System_Com"] }
[target."cfg(target_os = \"windows\")".build-dependencies]
bindgen = "0.72.1"
bindgen = "0.72.1"

View File

@@ -164,6 +164,9 @@ pub(crate) struct ViewExtensionUISettings {
/// Show the footer
#[serde_inline_default(false)]
footer: bool,
/// If true, scrollbars will be hidden
#[serde_inline_default(true)]
hide_scorllbar: bool,
/// The recommended width of the window for this extension
width: Option<u32>,
/// The recommended heigh of the window for this extension

View File

@@ -75,6 +75,7 @@ export interface ViewExtensionUISettings {
search_bar: boolean;
filter_bar: boolean;
footer: boolean;
hide_scorllbar: boolean;
width: number | null;
height: number | null;
resizable: boolean;