aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorColomban Wendling <ban@herbesfolles.org>2016-04-27 16:01:17 +0200
committerColomban Wendling <ban@herbesfolles.org>2016-04-27 16:01:17 +0200
commit77c31b70c5af50ceabe8728e1d80069226f2b199 (patch)
tree97ecc952aad50ae23e9c805fb507a97cf7f5dc88 /src
parent66d16bf968a861fa232d73df7661b9297826c3ab (diff)
downloadscintilla-mirror-77c31b70c5af50ceabe8728e1d80069226f2b199.tar.gz
GTK: Fix auto-completion popup sizing code for GTK 3.20
GTK 3.20's GtkScrolledWinodw doesn't like having a too small allocation and spews scary assertion failures. Fix that by requesting the real size we'd like instead of hard-coding 1 as small-enough value in our overriding height requisition method. The actual value doesn't really matter so long as it's small enough anyway, as we resize the popup to fit later on. Note: this moves the actual implementation of ListBoxX::GetRowHeight() to the new convenience function treeViewGetRowHeight(), with no changes in implementation.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions