Actions
Support #3658
closediframe to fill available space
Start date:
11/10/2014
Due date:
% Done:
0%
Estimated time:
Description
I am trying to embedded another page inside my Wt application using an iframe. I have figured out that I can use a WText widget to create an iframe. My problem is I can't figure out how to get the iframe/WText widget to fill the available space. Is there a way to do this?. The application is very simple, there is a single top level WVBoxLayout that contains WContainerWidget and the WText widget.
Updated by Koen Deforche about 9 years ago
- Status changed from New to Feedback
There's a way to do it, by setting a 'wtResize' member function on your WText. This wtResize function will be called by the layout manager with the current size. Then you could, from JavaScript, manipulate the iframe and put the correct size.
Updated by Koen Deforche about 9 years ago
- Status changed from Feedback to Closed
Actions