mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-02 08:12:42 -06:00
ide, CodeEditor: Fixed problem with too big popups
This commit is contained in:
parent
f18c44b002
commit
f198d513da
1 changed files with 1 additions and 0 deletions
|
|
@ -698,6 +698,7 @@ void CodeEditor::SyncTip()
|
|||
mt.pos = tippos;
|
||||
mt.sz.cx = min(DPI(1000), 2 * wa.GetWidth() / 3);
|
||||
if(tippos >= 0 && IsVisible() && (WhenTip(mt) || delayed_tip && DelayedTip(mt))) {
|
||||
mt.sz.cy = min(wa.GetHeight() / 2 - DPI(20), mt.sz.cy);
|
||||
tip.d = mt.display;
|
||||
tip.v = mt.value;
|
||||
tip.background = mt.background;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue