summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-05-03 20:52:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-05-03 20:52:30 +0300
commit18c67383050c401825059299c55ed733391a72c2 (patch)
tree7e3701f96203285c2145670764caafac05be251a
parentd01433507d6a6b8b8bee08128536f0a30fe22449 (diff)
NewStory: minor improvement of treeview's look-n-feel
-rw-r--r--plugins/NewStory/res/resource.rc2
-rw-r--r--plugins/NewStory/src/history.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewStory/res/resource.rc b/plugins/NewStory/res/resource.rc
index d08f0b5b97..94e303e9ee 100644
--- a/plugins/NewStory/res/resource.rc
+++ b/plugins/NewStory/res/resource.rc
@@ -126,7 +126,7 @@ BEGIN
EDITTEXT IDC_SEARCHTEXT,19,305,305,14,ES_AUTOHSCROLL
ICON "",IDC_SEARCHICON,1,298,20,20,SS_CENTERIMAGE
CONTROL "",IDC_LOGOPTIONS,"MButtonClass",WS_TABSTOP,116,99,16,14
- CONTROL "Tree1",IDC_TIMETREEVIEW,"SysTreeView32",TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | TVS_TRACKSELECT | TVS_FULLROWSELECT | TVS_SINGLEEXPAND | NOT WS_VISIBLE | WS_TABSTOP,0,134,84,160,WS_EX_STATICEDGE
+ CONTROL "Tree1",IDC_TIMETREEVIEW,"SysTreeView32",TVS_DISABLEDRAGDROP | TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT | TVS_SHOWSELALWAYS | TVS_TRACKSELECT | TVS_FULLROWSELECT | TVS_SINGLEEXPAND | NOT WS_VISIBLE | WS_TABSTOP,0,134,84,160,WS_EX_STATICEDGE
CONTROL "",IDC_DATEPOPUP,"MButtonClass",WS_TABSTOP,148,99,16,14
CONTROL "",IDC_ITEMS2,"NewstoryList",WS_TABSTOP,90,132,290,166
CONTROL "",IDC_IB_SEPARATOR,"Static",SS_ETCHEDHORZ,21,76,124,1
diff --git a/plugins/NewStory/src/history.cpp b/plugins/NewStory/src/history.cpp
index 6f17847f45..5059a8ec1e 100644
--- a/plugins/NewStory/src/history.cpp
+++ b/plugins/NewStory/src/history.cpp
@@ -311,7 +311,7 @@ class CHistoryDlg : public CDlgBase
// time tree bar
int hTimeTree = 0;
if (m_dwOptions & WND_OPT_TIMETREE) {
- hTimeTree = 80; // need to calculate correctly
+ hTimeTree = 100; // need to calculate correctly
hDwp = DeferWindowPos(hDwp, m_timeTree.GetHwnd(), 0,
WND_SPACING, WND_SPACING + hToolBar + hFilterBar,
hTimeTree, h - WND_SPACING * 2 - hFilterBar - hToolBar - hSearch - hStatus,