Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
SetTextAlignment has no effect with QListWidget items
ronM71 last edited by
@MyItem = new QListWidgetItem(QIcon(), "Testing");
"Testing" will always appear aligned to the left. why?
leon.anavi last edited by
Please try to example code posted at this FAQ: "How can I align the text and icons in an itemview?":http://developer.qt.nokia.com/faq/answer/how_can_i_align_the_text_and_icons_in_an_itemview