summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clcutils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-21 11:33:08 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-21 11:33:08 +0300
commit13971c8da041fce75d748d4c4ca527b70b3916e1 (patch)
tree1bde974ade1869134937536af3ba781802134145 /plugins/Clist_modern/src/modern_clcutils.cpp
parenta9c4a2ae9c59ae49758b18c5a1b20aedb1483463 (diff)
CLC/TopMargin & CLC/BottomMargin - two hidden settings for Clist_modern skinning
Diffstat (limited to 'plugins/Clist_modern/src/modern_clcutils.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clcutils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Clist_modern/src/modern_clcutils.cpp b/plugins/Clist_modern/src/modern_clcutils.cpp
index 0648e1434c..8c24177588 100644
--- a/plugins/Clist_modern/src/modern_clcutils.cpp
+++ b/plugins/Clist_modern/src/modern_clcutils.cpp
@@ -596,6 +596,8 @@ void cli_LoadCLCOptions(HWND hwnd, ClcData *dat, BOOL bFirst)
else memset(&dat->thirdLine, 0, sizeof(dat->thirdLine));
dat->rightMargin = db_get_b(0, "CLC", "RightMargin", CLCDEFAULT_RIGHTMARGIN);
+ dat->topMargin = db_get_b(0, "CLC", "TopMargin", 0);
+ dat->bottomMargin = db_get_b(0, "CLC", "BottomMargin", 0);
dat->bForceInDialog = (g_clistApi.hwndContactTree) ? (hwnd != g_clistApi.hwndContactTree) : 0;
dat->subIndent = db_get_b(0, "CLC", "SubIndent", CLCDEFAULT_GROUPINDENT);