Skip to content
Qt 6.11 is out! See what's new in the release blog
  • Elided settings limit error

    Moved Unsolved Qt Creator and other tools elide mode socket help
    13
    0 Votes
    13 Posts
    486 Views
    Christian EhrlicherC
    @Joe-von-Habsburg said in Elided settings limit error: any solution here? due to settings limit So did you check the settings for such a limit?
  • 0 Votes
    2 Posts
    1k Views
    Christian EhrlicherC
    I would guess your QTableWidgetItem has wordWrap set to true (default). This works fine for me: int main(int argc, char** argv) { QApplication app(argc, argv); QTableWidget tw; tw.setRowCount(1); tw.setColumnCount(1); auto item = new QTableWidgetItem("a very long text which is elided in the middle"); tw.setItem(0, 0, item); tw.setTextElideMode(Qt::ElideMiddle); tw.setWordWrap(false); tw.show(); }