-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ Feature Request ] [ FlexibleColumnLayout ] Need custom size for difference layout #1972
Comments
Hi @alex-zhang , The values are per the fiori design, but we'll find some solution, even if unofficial, to support you with that requirement. Regards, |
hi, @vladitasev Thanks for your quick action. |
Hi @alex-zhang
<ui5-flexible-column-layout _smaller-column-size-two-columns="20"> which would make two-column ratios 20/80 and 80/20, rather than 33/67 and 67/33.
So please let us know - if we merge the above PR that would let you change ratios - point 1), and knowing that you can use the single-column layouts, described in point 2), would that let you fulfill your requirements? Regards, |
hi, @vladitasev thanks for your information.
For this picture below it's a TwoColumnsStartExpanded layout and It's ratio in desktop and tablet is So , for point2, there may difference size. [20%, 80%, 0] for TwoColumnsStartExpanded and [0, 100%, 0] for TwoColumnsMidExpanded if we use this logic
Otherwise, This is an other option for me On top of this PR. Here is my step:
I'm not sure is that ok. And there is also different logic for phone size. IMG 1IMG 2 |
BTW For this code ui5-webcomponents/packages/fiori/src/FlexibleColumnLayout.js Lines 264 to 269 in 0035da4
according to fiori design https://wiki.wdf.sap.corp/wiki/pages/viewpage.action?pageId=2038570628
So, we should follow the guide line? |
Yes, the breakpoints
Yes, we should, change is prepared: #1984 |
ok, thanks. |
hi, @vladitasev @ilhan007 how about the question above.
|
Hi @alex-zhang We merged the breakpoints change PR, and there is also a new PR regarding more freedom in changing layouts: #1987 Please let us know if that would work for you Regards, |
The media breakpoints are now aligned with the Fiori 3 specs. Related to: #1972
ok, thanks. Great. It will be flexible. |
hi,
Thanks for the new component FlexibleColumnLayout.
But there's a little gap with requirement. (below)
To achieve this effect, i change the default layout size value.
So, Is there any possible to expose the "setLayoutsByMedia" method to change the default size value?
And below is our UX design:
The text was updated successfully, but these errors were encountered: