Kaguro
4th July 2020, 20:29
I have a lame problem again. I would like to create my own widget class which look like this:
13495
And i want to add to a QScrollArea. I tried it somwhow but dont work. i cant add the QLabels on QPushbutton to the most left and right side. When i create my own version and added to QScrollArea I just watched a small black button.. no expanding to my QScrollArea , but yeah i used setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred)... any idea guys?:(
13495
And i want to add to a QScrollArea. I tried it somwhow but dont work. i cant add the QLabels on QPushbutton to the most left and right side. When i create my own version and added to QScrollArea I just watched a small black button.. no expanding to my QScrollArea , but yeah i used setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred)... any idea guys?:(