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:
Martín Lucas Golini
2026-08-11 12:38:34 -03:00
parent 10a5d7effc
commit 6df0c0738f
17 changed files with 397 additions and 115 deletions
+3 -1
View File
@@ -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