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