Skip to content
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

Question about persisting pane ratios #607

Closed
venteto opened this issue Jun 12, 2022 · 2 comments
Closed

Question about persisting pane ratios #607

venteto opened this issue Jun 12, 2022 · 2 comments
Labels
question Further information is requested

Comments

@venteto
Copy link

venteto commented Jun 12, 2022

I've Googling without much luck, and I don't think I really under the ratio or position keys (whether in a child or terminal block) in the normal config file. For example in this excerpt from a layout in my config file, this tab is split into a top and bottom pane, but no matter what I try, both panes always take up half of the tab.

What I want though is for the top pane to take up, say, only 20% of the tab, and the bottom pane (the "psql" pane) to take up 80% of the tab, on startup, without me dragging anything manually (and ideally without this layout ever being overwritten by terminator if I do drag the separator manually on occasion).

    [[[child9]]]
      type = VPaned
      parent = child1
      order = 7
      position = 168 # changing this does not seem to do anything
      ratio = 0.16666666666666666  # changing this does not seem to do anything
    [[[terminal10]]]
      type = Terminal
      parent = child9
      # ratio = 0.2 # does not seem to do anything
      order = 0
      profile = default
      title = createdb/dropdb
      uuid = 6766e864-2a49-4fc4-a66a-5254418a044a
    [[[terminal11]]]
      type = Terminal
      parent = child9
      # ratio = 0.8 # does not seem to do anything
      order = 1
      profile = default
      title = psql
      command = psql
      uuid = fcaac26a-e2ca-4b28-bd66-ac21cab47ebf

Is there a way to do what I want? Adding a ratio key to both terminal panes does not seem to do anything for instance.

@mattrose mattrose added the question Further information is requested label Jun 12, 2022
@mattrose
Copy link
Member

This is a bug that should be fixed by #433 Please let me know if this does fix the issue for you.

@venteto
Copy link
Author

venteto commented Jun 13, 2022

Oh, so I don't actually need to specify anything else in the config file?
I just need to run the latest version from GitHub for the time being I suppose, it does seem to work correctly after trying that.

Thank you.

@venteto venteto closed this as completed Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants