diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-07-26 18:43:45 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-07-26 18:55:10 +0530 |
| commit | f13a1a1c4eab8bdef3760dd71cd7e2b3cc68a3e8 (patch) | |
| tree | c431eeb6b2de06778c2888d25a1fe5fd67608fec /src/widgets | |
| parent | e8dfd7aa6b0aa37b2260e4593d475f25bbe2bdc4 (diff) | |
| download | null-browser-f13a1a1c4eab8bdef3760dd71cd7e2b3cc68a3e8.tar.gz null-browser-f13a1a1c4eab8bdef3760dd71cd7e2b3cc68a3e8.zip | |
Add ModeChanged event and display mode in bottom decoration
Diffstat (limited to '')
| -rw-r--r-- | src/widgets/EdgeDecoration.cpp | 5 | ||||
| -rw-r--r-- | src/widgets/EdgeDecoration.hpp | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/widgets/EdgeDecoration.cpp b/src/widgets/EdgeDecoration.cpp index ed48857..7351552 100644 --- a/src/widgets/EdgeDecoration.cpp +++ b/src/widgets/EdgeDecoration.cpp @@ -4,7 +4,6 @@ #include <qlabel.h> #include <qwebengineview.h> -#include "LuaRuntime.hpp" #include "widgets/WebView.hpp" #include "widgets/WebViewStack.hpp" @@ -28,9 +27,11 @@ QString default_html_layout = R"HTML( :where(html, body) { margin: 0; padding: 0; - background: #333; + background: #111; color: white; overflow: hidden; + text-size: 12px; + font-family: monospace; } </style> diff --git a/src/widgets/EdgeDecoration.hpp b/src/widgets/EdgeDecoration.hpp index 2af567c..3c90cfb 100644 --- a/src/widgets/EdgeDecoration.hpp +++ b/src/widgets/EdgeDecoration.hpp @@ -32,7 +32,7 @@ private: QWebEngineProfile *profile; bool enabled = false; QString html_content = ""; - uint16_t size = 24; + uint16_t size = 20; void setup_webview(); }; |
