mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-02 03:00:23 +03:00
Add font size selection to ecode font picker:
Allow UIFontPickerDialog sections to be hidden and make ecode's UI, editor, and terminal font dialogs select both the font and its size. Keep external fonts selectable across asynchronous font enumeration, including when they share a family name with a system font, and label them as external. Also normalize UILinearLayout weights across visible children so hidden picker columns release their space correctly. Update font picker previews, size units, menu labels, translations, and lifetime handling. Addresses SpartanJ/ecode#944.
This commit is contained in:
@@ -30,10 +30,13 @@ class SettingsActions {
|
||||
void setUIScaleFactor();
|
||||
|
||||
void setUIFontSize();
|
||||
void setUIFontSize( const StyleSheetLength& size );
|
||||
|
||||
void setEditorFontSize();
|
||||
void setEditorFontSize( const StyleSheetLength& size );
|
||||
|
||||
void setTerminalFontSize();
|
||||
void setTerminalFontSize( const StyleSheetLength& size );
|
||||
|
||||
void setUIPanelFontSize();
|
||||
|
||||
@@ -43,7 +46,6 @@ class SettingsActions {
|
||||
String i18n( const std::string& key, const String& def );
|
||||
|
||||
void checkForUpdatesResponse( Http::Response&& response, bool fromStartup );
|
||||
|
||||
};
|
||||
|
||||
} // namespace ecode
|
||||
|
||||
Reference in New Issue
Block a user