Skip to content

Commit ac839ee

Browse files
committedSep 30, 2023
[#75] Migration to YAHEL hexa-editor (Part 19: Fixed visual issues in FileManager's "Compare files" dialog)
1 parent a6adacd commit ac839ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎Main/src/ViewFileManager_compare.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ using namespace Yahel;
159159
// ctor
160160
: CHexaEditor(nullptr)
161161
, rDialog(rDialog) {
162+
SetLabelColumnParams( 0 );
162163
}
163164

164165

@@ -168,7 +169,7 @@ using namespace Yahel;
168169
void CFileManagerView::CFileComparisonDialog::COleComparisonDropTarget::Init(CWnd *pLabel,CWnd *pButton){
169170
// initialization
170171
hLabel=pLabel->m_hWnd, hEllipsisButton=pButton->m_hWnd;
171-
Create( nullptr, nullptr, WS_CHILD /*|WS_VISIBLE*/, CFrameWnd::rectDefault, pLabel->GetParent(), 0 ); // commented out because see WM_SIZE
172+
Create( nullptr, nullptr, WS_CHILD|WS_CLIPSIBLINGS /*|WS_VISIBLE*/, CFrameWnd::rectDefault, pLabel->GetParent(), 0 ); // commented out because see WM_SIZE
172173
Register(this); // making HexaEditor a target of drag&drop
173174
DragAcceptFiles(); // to not pass the WM_DROPFILES message to the MainWindow (which would attempt to open the dropped File as an Image)
174175
}

0 commit comments

Comments
 (0)
Please sign in to comment.