Developer Tools: Template: move the render pane below the edit pane, instead of side by side #16002
Replies: 3 comments 2 replies
-
I have never seen this issue reported so far by others. Are you aware of any other users voicing this issue, e.g. on the forums? EDIT: Just saw that there is already a proposed PR and a longer discussion in there: #16921 |
Beta Was this translation helpful? Give feedback.
-
I'd only want this if the 2 can be scrolled independently, treated as 2 separate tabs. Come to think about it, it should be like that already IMO, like 2 separate windows in VSCode. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem on my widescreen monitor, 3440 x 1440, although my browser fills just the right half of the screen (width). I don't like that I have to keep scrolling the template editor left and right to see and edit my code. Yes I could change my code but I like the way my code looks as it is - it works for me. Reducing the browser width, which I don't wish to do just for HA, does result in the result window appearing below the template editor but now the editor window is even thinner so suffers with more scrolling - plus I find that harder to code and see the results. Therefore would it be possible to either make the template editor window width adjustable or for it to be about 2/3rds of the browser width with the result window reducing to 1/3rd? |
Beta Was this translation helpful? Give feedback.
-
I often find myself testing out template logic in the Developer Tools: Template panel. Most of my templates are rather long and I have to scroll horizontally in the edit pane because it is truncated by the result pane.
Since my templates are frequently wider than they are long, it would be helpful (hopefully for others as well!) if the result pane was located beneath the edit pane so I didn't have to horizontally scroll the edit pane.
Is this just me?
@spacegaier because I saw you had done some work in the Developer Tools panel.
Thanks!
So I inspected the page in my browser and it looks like just changing
<div class="content layout horizontal">
to
<div class="content layout vertical">
effects the change I'm talking about.
I have no idea how to do this in the .ts
Beta Was this translation helpful? Give feedback.
All reactions