hey there i am making a grid layout and i have 2 QLineEdit displayboxs with 1 under the other. is there a way to make the display boxes smaller in width:
Qt Code:
display->setReadOnly(true); display->setAlignment(Qt::AlignCenter); display->setMaxLength(10); display->installEventFilter(this); font.setPointSize(font.pointSize() + 8); display->setFont(font); display2->setReadOnly(true); display2->setAlignment(Qt::AlignCenter); display2->setMaxLength(10); display2->installEventFilter(this); font2.setPointSize(font2.pointSize() + 8); display2->setFont(font2);To copy to clipboard, switch view to plain text mode
Bookmarks