ADded DroidSansFallbackFull as fallback font in ecode and eterm.

CheckBox and RadioButton now display hover effect.
Added alias "lg" for layout-gravity.
Node: Added addMouseClickListener and hasChild helper functions.
UICodeEditor: Fixed a minor bug that provoked to scroll the view when resizing the widget.
UITabWidget: minor bug fix.
ecode: Fixed a bug that caused to save a monospace font when the user did not accept to change it.
Added debug options to the widget inspector.
Added i18n to all strings defined in XML files/strings.
Added "Rename Session" button in the Terminal menu.
This commit is contained in:
Martín Lucas Golini
2022-10-16 03:23:01 -03:00
parent 54a177bc8e
commit 4b6ce692b9
21 changed files with 221 additions and 99 deletions

View File

@@ -165,7 +165,7 @@ UITerminal* TerminalManager::createNewTerminal( const std::string& title, UITabW
}
}
UITerminal* term = UITerminal::New(
mApp->getFontMonoNerdFont() ? mApp->getFontMonoNerdFont() : mApp->getFontMono(),
mApp->getTerminalFont() ? mApp->getTerminalFont() : mApp->getFontMono(),
mApp->termConfig().fontSize.asPixels( 0, Sizef(), mApp->getDisplayDPI() ), Sizef( 16, 16 ),
"", {},
!workingDir.empty()
@@ -345,10 +345,10 @@ UITerminal* TerminalManager::createNewTerminal( const std::string& title, UITabW
} );
term->setCommand( "reopen-closed-tab", [&] { mApp->reopenClosedTab(); } );
term->setCommand( "plugin-manager", [&] { mApp->createPluginManagerUI(); } );
// debug-draw-highlight-toggle
// debug-draw-boxes-toggle
// debug-draw-debug-data
// debug-widget-tree-view
term->setCommand( "debug-draw-boxes-toggle", [&] { mApp->debugDrawBoxesToggle(); } );
term->setCommand( "debug-draw-highlight-toggle", [&] { mApp->debugDrawHighlightToggle(); } );
term->setCommand( "debug-draw-debug-data", [&] { mApp->debugDrawData(); } );
term->setCommand( "debug-widget-tree-view", [&] { mApp->createWidgetInspector(); } );
term->setFocus();
return term;
#endif