on 11-17-2010 11:02 AM
Hello Experts,
I build a Web Dynpry and want that some of my elements on the view have exact the width, so that there is no horizontal scroll bar in the Internet Explorer View.
I can't use constant widths, because of possible other resolutions of the screen.
I tried to get the width of the UIELEMENTCONTAINER, but it was '0px'.
Then I tried to get the width of my view, but views have no get_view( ) method.
So, how can I get the "Maximum" width in the code.
Regards,
Lennart
Web Dynpro is designed for a flow based layout, not a pixel perfect one. You shouldn't try to set widths based upon pixel nor should you try to consume the entire width of the browser page that way. You also shouldn't assume a certain pixel size for the layout.
Use relative layouting mixed with percent based widths instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Usually we use 1024*768 screen resolution and then start designing the application. It also depends on client's screen resolution. We have to just give out a trail and error for setting UI elements for best fit onto screen.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.