diff --git a/src/dlangui/widgets/editors.d b/src/dlangui/widgets/editors.d
index de246dbe..6460dc7e 100644
--- a/src/dlangui/widgets/editors.d
+++ b/src/dlangui/widgets/editors.d
@@ -3504,13 +3504,10 @@ class LogWidget : EditBox {
this(string ID) {
super(ID);
+ styleId = STYLE_LOG_WIDGET;
_scrollLock = true;
_enableScrollAfterText = false;
enabled = false;
- fontSize = makePointSize(9);
- //fontFace = "Consolas,Lucida Console,Courier New";
- fontFace = "Menlo,Consolas,DejaVuSansMono,DejaVu Sans Mono,Lucida Sans Typewriter,Courier New,Lucida Console";
- fontFamily = FontFamily.MonoSpace;
minFontSize(pointsToPixels(6)).maxFontSize(pointsToPixels(32)); // allow font zoom with Ctrl + MouseWheel
onThemeChanged();
}
diff --git a/src/dlangui/widgets/styles.d b/src/dlangui/widgets/styles.d
index 7f138631..bd583522 100644
--- a/src/dlangui/widgets/styles.d
+++ b/src/dlangui/widgets/styles.d
@@ -111,6 +111,8 @@ immutable string STYLE_LIST_ITEM = "LIST_ITEM";
immutable string STYLE_EDIT_LINE = "EDIT_LINE";
/// standard style id for EditBox
immutable string STYLE_EDIT_BOX = "EDIT_BOX";
+/// standard style id for LogWidget
+immutable string STYLE_LOG_WIDGET = "LOG_WIDGET";
/// standard style id for lists
immutable string STYLE_LIST_BOX = "LIST_BOX";
/// standard style id for StringGrid
diff --git a/views/res/theme_dark.xml b/views/res/theme_dark.xml
index c92ae866..38b867b0 100644
--- a/views/res/theme_dark.xml
+++ b/views/res/theme_dark.xml
@@ -220,6 +220,9 @@
+
diff --git a/views/res/theme_default.xml b/views/res/theme_default.xml
index c21050f4..1b3d95e1 100644
--- a/views/res/theme_default.xml
+++ b/views/res/theme_default.xml
@@ -317,6 +317,18 @@
layoutWidth="FILL_PARENT"
layoutHeight="FILL_PARENT"
/>
+