-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Scale & Different Resolution Question #2682
Comments
I think you mean scale 1.25% not aspect ration (width/height). Are you saying sizeToContent doesn't handle div scaling (or detecting when you change it) ? not clear and you don't provide example showing issue. |
@adumesny with scale, I meant this: sizeToContent is cutting off widgets and unable to resize them vertically. Is there any alternative to the issue? Btw, I'm using angular wrapper.. |
looks like sizeToContent is not handling scale, not surprised as I don't use scale. is that browser or OS level or ?? - you are NOT providing a proper bug report with steps to reproduce - see template. |
Your environment
Steps to reproducehttps://jsfiddle.net/chelsumz007/6yftckrv/5/ In the jsfiddle prototype, adding some more data as text. Change the scale using windows properties to some other %. Now the same gridstack item is cutting off the data inside the tile 100% scale (Windows OS display settings): 125% scale (Windows OS Display Settings): |
Subject of the issue
Resolution - 1920 x 1200
Aspect Ratio - 100%
Resolution - 1920 x 1200
Aspect Ratio - 125%
When in different aspect ratio, gridstack cuts the widget and adds scroll to it, any way to resolve this? Notice the "6% from last year" line been cut off..
This happens for screens with different resolution
I have tried sizeToContent: true attribute (both to grid & chidlren), it cuts off the widget:
without sizeToContent:
Without the attribute:
When resized, it behaves weirdly and increases the height
The text was updated successfully, but these errors were encountered: