c++ - Qt QCompleter can't have its size set? -
i have qcompleter
attached qlineedit
, works fine, except suggestion popups width of line edit, while need them wider. there aren't methods in completer seem allow me change this. can do?
you can subclass qabstractitemview
in can set width , set customized class qcompleter::setpopup(qabstractitemview * popup)
Comments
Post a Comment