ui: additional export zoom options

This commit is contained in:
Brendan Hagan
2022-06-17 21:50:33 -04:00
parent b90a4fcefc
commit bd8ad40694
+2 -2
View File
@@ -206,14 +206,14 @@ DisplayPreferencesPage::DisplayPreferencesPage(Window* parent)
spellcheck_enabled->SetValue( settings.default_stylesheet_settings.card_spellcheck_enabled());
zoom_int = static_cast<int>(settings.default_stylesheet_settings.card_zoom() * 100);
zoom->SetValue(String::Format(_("%d%%"),zoom_int));
int choices[] = {50,66,75,100,120,150,200};
int choices[] = { 50,66,75,100,120,150,200 };
for (unsigned int i = 0 ; i < sizeof(choices)/sizeof(choices[0]) ; ++i) {
zoom->Append(String::Format(_("%d%%"),choices[i]));
}
export_zoom_int = static_cast<int>(settings.default_stylesheet_settings.export_zoom() * 100);
export_zoom->SetValue(String::Format(_("%d%%"), export_zoom_int));
int export_choices[] = { 100,200,300,400,500 };
int export_choices[] = { 50,66,75,100,120,150,200,300,400,500,600,700,800,900,1000 };
for (unsigned int i = 0; i < sizeof(export_choices) / sizeof(export_choices[0]); ++i) {
export_zoom->Append(String::Format(_("%d%%"), export_choices[i]));
}