urepo: UHD fixes

git-svn-id: svn://ultimatepp.org/upp/trunk@12241 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-09-03 17:58:36 +00:00
parent 0fe34e10fc
commit a0c8b41d4b

View file

@ -15,7 +15,7 @@ RepoSync::RepoSync()
list.AddColumn("Changes");
list.ColumnWidths("220 500 100");
list.NoCursor().EvenRowColor();
list.SetLineCy(max(Draw::GetStdFontCy(), 20));
list.SetLineCy(max(Draw::GetStdFontCy() + Zy(4), Zy(20)));
Sizeable().Zoomable();
BackPaint();
}
@ -101,7 +101,7 @@ bool RepoSync::ListSvn(const String& path)
list.SetCtrl(ii, 0, revert.Add().SetLabel(an + (action == ADD ? "\nSkip" : "\nRevert")).NoWantFocus());
revert.Top() <<= 0;
Ctrl& b = diff.Add().SetLabel("Changes..").SizePos().NoWantFocus();
b <<= THISBACK1(DoDiff, ii);
b << [=] { DoDiff(ii); };
list.SetCtrl(ii, 2, b);
}
}