How to get the current dimensions of a layout #2705
Unanswered
sortedcord
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I was able to track it down to this method. It seems that it only runs when we are printing something. I haven't seen the code where it is printing using the rich console but if there is any way to access this variable from other scopes then please do let me know |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I wanted to know if there was any way to feth the dimensions of a layout that is being displayed on the screen if the size property was not specified when creating the layout?
This returns
None
. I wanted to know if I can get the size of the layout that it currently is in which is usually displayed by the placeholder renderable's title.Beta Was this translation helpful? Give feedback.
All reactions