2023-05-26 14:12:24 +03:00
|
|
|
@BrowserSettings::AutoplaySettingsWidget {
|
2023-04-17 20:32:51 +03:00
|
|
|
fill_with_background_color: true
|
|
|
|
layout: @GUI::VerticalBoxLayout {
|
|
|
|
margins: [8]
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::CheckBox {
|
|
|
|
name: "allow_autoplay_on_all_websites_checkbox"
|
|
|
|
text: "Allow media to automatically play on all websites"
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::GroupBox {
|
2023-05-22 20:07:09 +03:00
|
|
|
title: "Autoplay allowlist"
|
2023-04-17 20:32:51 +03:00
|
|
|
layout: @GUI::VerticalBoxLayout {
|
|
|
|
margins: [8]
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::ListView {
|
|
|
|
name: "allowlist_view"
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Widget {
|
|
|
|
fixed_height: 32
|
|
|
|
layout: @GUI::HorizontalBoxLayout {}
|
|
|
|
|
|
|
|
@GUI::Layout::Spacer {}
|
|
|
|
|
|
|
|
@GUI::Button {
|
|
|
|
name: "add_website_button"
|
|
|
|
fixed_width: 100
|
2023-05-22 20:07:09 +03:00
|
|
|
text: "Add Website..."
|
2023-04-17 20:32:51 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|