Layouting improvements for UIImage and HTML elements.

Default StyleSheetUnit is now Dp when it's not specified (this is not used very often but in HTML mode we need to respect the DPI).
Fix MarkdownView fonts color when on Light theme.
This commit is contained in:
Martín Lucas Golini
2026-03-27 00:01:09 -03:00
parent 939316365e
commit 43a1dca16c
17 changed files with 143 additions and 22 deletions

View File

@@ -2290,6 +2290,9 @@ void App::closeEditors() {
saveProject();
mSplitter->setCurrentEditor( nullptr );
mSplitter->setCurrentWidget( nullptr );
std::vector<UICodeEditor*> editors = mSplitter->getAllEditors();
while ( !editors.empty() ) {
UICodeEditor* editor = editors[0];