Hi,

I have to display a scrollable label, it contains some help text so it is bigger than the height of the screen, so i use scroll area to display that label. I have been able to scroll the label in C7 device but when i run it on E72 then the scroll bar doesn't scroll.

Following is my code



Qt Code:
  1. QWidget* window = new QWidget;
  2. QVBoxLayout* layout = new QVBoxLayout(window);
  3. QPushButton* optsButton = new QPushButton("Options");
  4. QPushButton* exitButton = new QPushButton("Exit");
  5.  
  6. QLabel *name = new QLabel("some text which makes the vertical scroll enble");
  7. name->setWordWrap(true);
  8.  
  9. name->setMaximumWidth(320-35);
  10. layout->addWidget(name);
  11. layout->addWidget(optsButton);
  12. layout->addWidget(name);
  13. layout->addWidget(exitButton);
  14. layout->addWidget(name);
  15.  
  16. scr->setWidget(window);
  17. scr->setWidgetResizable(false);
  18.  
  19. scr->setBackgroundRole(QPalette::Dark);
  20. scr->show();
To copy to clipboard, switch view to plain text mode 


I will be really thankful if some one give me even any hint regarding that. I am facing this problem in E72, this piece of code works fine on C7 device and show all labels with complete text.