mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
Applications: Use native style sheet for WebViews where appropriate
This commit is contained in:
parent
7436f4fec2
commit
aae7905369
4 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,7 @@ ConsoleWidget::ConsoleWidget()
|
|||
set_fill_with_background_color(true);
|
||||
|
||||
m_output_view = add<WebView::OutOfProcessWebView>();
|
||||
m_output_view->use_native_user_style_sheet();
|
||||
m_output_view->load("data:text/html,<html style=\"font: 10pt monospace;\"></html>"sv);
|
||||
// Wait until our output WebView is loaded, and then request any messages that occurred before we existed
|
||||
m_output_view->on_load_finish = [this](auto&) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue