Pazyryk
Deity
- Joined
- Jun 13, 2008
- Messages
- 3,584
FiresForever, Thanks for the help. I got my vertical scroll bar working. Two questions you might know the answer to:
1) Is it really beyond civ5 to have an x and y scrollbar at the same time? (I know that's asking a lot.)
2) Have you run into any kind of hardwired limit on GridY? I can scroll down to techs at GridY=11, but techs below that don't show and I can't scroll to them. I know that these techs are "installed" because I can choose them on the "quick tech choice" panel.
Edit: Nevermind question #2. If I add a tech with GridY=25, then the scrollable y-axis expands out to to show techs to about GridY=20 or so. That seems buggy to me. Maybe CalculateInternalSize() is messed up?
[[The other weird thing is that I can't make my ScrollPanel bigger than 740 in the Y direction. It works with Size="Full,740". I can lower the 740 value and it works, but if I raise it to 800 or Full then bad things happen (loose my y scrollability and other weirdness). My screen is 1200 vertical so that isn't limiting.]] EditEdit: I figured this part out. You have to already have techs in place filling out max screen y or bad things happen (perhaps CalculateInternalSize() craps out when it tries to shrink less than panel size).
1) Is it really beyond civ5 to have an x and y scrollbar at the same time? (I know that's asking a lot.)
2) Have you run into any kind of hardwired limit on GridY? I can scroll down to techs at GridY=11, but techs below that don't show and I can't scroll to them. I know that these techs are "installed" because I can choose them on the "quick tech choice" panel.
Edit: Nevermind question #2. If I add a tech with GridY=25, then the scrollable y-axis expands out to to show techs to about GridY=20 or so. That seems buggy to me. Maybe CalculateInternalSize() is messed up?
[[The other weird thing is that I can't make my ScrollPanel bigger than 740 in the Y direction. It works with Size="Full,740". I can lower the 740 value and it works, but if I raise it to 800 or Full then bad things happen (loose my y scrollability and other weirdness). My screen is 1200 vertical so that isn't limiting.]] EditEdit: I figured this part out. You have to already have techs in place filling out max screen y or bad things happen (perhaps CalculateInternalSize() craps out when it tries to shrink less than panel size).