Jump to content

Как центрировать по вертикали?


bahmet
 Share

Recommended Posts

1 hour ago, snowofman said:

-1 is like use whats left of the screen

-2 i'm not sure about, but my quess is thats they just equally share whats left between the 2 panels, but why -2 instead of a 2nd -1 i am not sure about

They act as ratios. So -2 is twice as big as -1. 

So item x (-2) occupies 2/3 of the screen, while item y (-1) occupies 1/3 of the screen. 
 

So for example if you set the layout to be -5, -1, the ratio would be 5:1 in terms of size of those items.

 

 

 

 

Link to post
Share on other sites

1 minute ago, (sic) said:

They act as ratios. So -2 is twice as big as -1. 

So item x (-2) occupies 2/3 of the screen, while item y (-1) occupies 1/3 of the screen. 
 

So for example if you set the layout to be -5, -1, the ratio would be 5:1 in terms of size of those items.

 

 

 

 

Thanks for the explanation, i wasnt aware of that :) 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...