mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-24 14:22:40 -06:00
Docking: fixed window title appearance bug
git-svn-id: svn://ultimatepp.org/upp/trunk@4497 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6736eaba6c
commit
d79d2052a8
2 changed files with 2 additions and 3 deletions
|
|
@ -247,8 +247,7 @@ void DockConfigDlg::OnTreeDrag()
|
|||
{
|
||||
if (tree.GetCursor() >= 0 && tree.GetParent(tree.GetCursor()) == 0)
|
||||
return;
|
||||
tree.DoDragAndDrop(InternalClip(tree, "dockwindowdrag"),
|
||||
tree.GetDragSample(), DND_MOVE) == DND_MOVE;
|
||||
tree.DoDragAndDrop(InternalClip(tree, "dockwindowdrag"), tree.GetDragSample(), DND_MOVE) == DND_MOVE; //??
|
||||
}
|
||||
|
||||
void DockConfigDlg::OnTreeDrop(int parent, int ii, PasteClip& d)
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ void ImgButton::Paint(Draw &w)
|
|||
// DockContHandle frame
|
||||
int DockCont::DockContHandle::GetHandleSize(const DockableCtrl::Style &s) const
|
||||
{
|
||||
return (!IsNull(s.title_font) ? 12 : s.title_font.GetHeight()+4)
|
||||
return (IsNull(s.title_font) ? 12 : s.title_font.GetHeight()+4)
|
||||
+ (s.handle_vert ? s.handle_margins.GetWidth() : s.handle_margins.GetHeight());
|
||||
}
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue