Voltaire // Give a min. width to vertical candidate window.
This commit is contained in:
parent
2365392cc9
commit
b0771a8140
|
@ -69,7 +69,7 @@ fileprivate class VerticalCandidateView: NSView {
|
|||
let cellWidth = rctCandidate.size.width + cellPadding
|
||||
let cellHeight = rctCandidate.size.height + cellPadding
|
||||
if (calculatedWindowWidth < rctCandidate.size.width) {
|
||||
calculatedWindowWidth = rctCandidate.size.width
|
||||
calculatedWindowWidth = rctCandidate.size.width + cellPadding
|
||||
}
|
||||
newWidths.append(cellWidth)
|
||||
newHeights.append(cellHeight)
|
||||
|
|
Loading…
Reference in New Issue