Wire skill level and accessibility settings to UI
This commit is contained in:
@@ -295,6 +295,7 @@ pub fn build_compress_page(state: &AppState) -> adw::NavigationPage {
|
||||
let advanced_expander = adw::ExpanderRow::builder()
|
||||
.title("Per-Format Quality")
|
||||
.subtitle("Fine-tune quality for each format individually")
|
||||
.expanded(state.detailed_mode)
|
||||
.build();
|
||||
|
||||
let jpeg_row = adw::SpinRow::builder()
|
||||
|
||||
@@ -145,6 +145,7 @@ pub fn build_convert_page(state: &AppState) -> adw::NavigationPage {
|
||||
.title("Format Mapping")
|
||||
.subtitle("Different input formats can convert to different outputs")
|
||||
.show_enable_switch(false)
|
||||
.expanded(state.detailed_mode)
|
||||
.build();
|
||||
|
||||
let progressive_row = adw::SwitchRow::builder()
|
||||
|
||||
@@ -372,6 +372,7 @@ pub fn build_resize_page(state: &AppState) -> adw::NavigationPage {
|
||||
.title("Advanced Options")
|
||||
.subtitle("Resize algorithm, DPI, upscale behavior")
|
||||
.show_enable_switch(false)
|
||||
.expanded(state.detailed_mode)
|
||||
.build();
|
||||
|
||||
let upscale_row = adw::SwitchRow::builder()
|
||||
|
||||
@@ -176,6 +176,7 @@ pub fn build_watermark_page(state: &AppState) -> adw::NavigationPage {
|
||||
.title("Advanced Options")
|
||||
.subtitle("Opacity, rotation, tiling, margin")
|
||||
.show_enable_switch(false)
|
||||
.expanded(state.detailed_mode)
|
||||
.build();
|
||||
|
||||
let opacity_row = adw::SpinRow::builder()
|
||||
|
||||
Reference in New Issue
Block a user