on 05-05-2017 9:58 PM
Dear All.
I have a question that if we set all the component width and height to auto during the design of our Dashboard than why it is not auto adjust it self in other devices like ipad or iphone, in previous version of design studio there is a option to select the ipad or iphone template during creating the application but in the newer version there is not such option and my understanding is that setting the width and height to auto should fit the component to any device.
kindly please advise how to achieve this and what should i consider to design the application which fit it self automatically to PC and ipad.
kind regards,
Zeeshan
Hi Zeeshan,
To add to Tammy's comments, by way of clarification about the use of the auto value when applied to the width and height properties of a component. The purpose of auto is not to automatically adjust the layout of components to fit mobile devices such as iPhones or iPads. It is simply to force that component to fit the entire space of its containing parent component, whether that be a grid layout or the application canvas. This helps with implementing a responsive design but it will not automatically "flow" the layout for you based on device. In the current standard functionality of Design Studio, you need to combine appropriate script logic with CSS to produce a responsive layout that targets the desired device form factors. This CSS and script logic will be dependent on the specific content you want to include in your application and should therefore be tailored to the specific use case.
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also want to know ,Do you have a solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Syed,
Also, while designing the dashboard choose the template as "SAPUI5m" which is specific for mobile.
The dashboards should display fine in ipad and iphones without making any modifications.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tanveer,
Just for clarification, while "SAPUI5m" is the recommended rendering mode for supporting both Desktop and Mobile, this selection alone does not mean that "dashboards should display fine in ipad and iphones without making any modifications". As I have mentioned above, the appropriate combination of CSS and JavaScript will still need to be applied for the content to display in a meaningful and responsive manner depending on the device. The layout/content on an iPhone needs to be different than the layout/content on an iPad, therefore additional logic is required for this, that goes beyond just selecting the "SAPUI5m" mode when creating the app.
Regards,
Mustafa.
Hello Syed - today for 1.6 you will need to look at using an SDK / third party components: for example see http://cdn.visualbi.com/wp-content/uploads/visualbi-extensions-for-sap-businessobjects-design-studio... "responsive UI container"
Coming in 2.0, there will be an adaptive layout container - see https://blogs.sap.com/2017/03/26/last-chance-to-apply-to-join-asug-businessobjects-lumira-2.0-influe... Figure 14
Tammy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
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.