forked from mia/Aegisub
Add edit box font face and size to the preferences dialog
Originally committed to SVN as r5706.
This commit is contained in:
parent
3ff8591c22
commit
8624f923d9
1 changed files with 4 additions and 1 deletions
|
@ -144,13 +144,16 @@ Video::Video(wxTreebook *book, Preferences *parent): OptionPage(book, parent, _(
|
|||
|
||||
/// Interface preferences page
|
||||
Interface::Interface(wxTreebook *book, Preferences *parent): OptionPage(book, parent, _("Interface")) {
|
||||
|
||||
wxFlexGridSizer *grid = PageSizer(_("Subtitle Grid"));
|
||||
OptionBrowse(grid, _("Font face"), BROWSE_FONT, "Subtitle/Grid/Font Face");
|
||||
OptionAdd(grid, _("Font size"), "Subtitle/Grid/Font Size", 3, 42);
|
||||
|
||||
OptionAdd(grid, _("Hide overrides symbol"), "Subtitle/Grid/Hide Overrides Char");
|
||||
|
||||
wxFlexGridSizer *edit_box = PageSizer(_("Edit Box"));
|
||||
OptionBrowse(edit_box, _("Font face"), BROWSE_FONT, "Subtitle/Edit Box/Font Face");
|
||||
OptionAdd(edit_box, _("Font size"), "Subtitle/Edit Box/Font Size", 3, 42);
|
||||
|
||||
SetSizerAndFit(sizer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue