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
Spreadsheet Rows Headers Not Resizing #358
Comments
Original comment by Dennis Remme (Bitbucket: deso88, GitHub: deso88). I created a little test application. If you press 50% the first time it works. If you click 100% and then 50% again it doesn't scale the row headers properly. This requires the current 8.20.7 snapshot of ControlsFX. Am I missing something?
|
Original comment by Samir Hadzic (Bitbucket: shadzic, GitHub: shadzic). The problem is complex because when I change the height of the visible rows (actually going from 100% to 50%), it adds some rows at the bottom because we give extra space. But these new rows appear afterward. So a solution is to check when rows are stacked and become visible, this problem is solved. Now I have another problem, it's that the calculation is wrong because it calculates that 3 rows have to be added. But since I shrank them, I can actually put 5 rows. Therefore we have a blank space at the bottom. It's kind of a recursive problem because I shrink rows, then it adds some more, I detect it, then shrink them, then it again allows some more rows to be there etc etc. I'm working on the blank space at the bottom trying to find a solution. |
Original comment by Jonathan Giles (Bitbucket: JonathanGiles, GitHub: JonathanGiles). Resolving #358 : Invisible rows are now resized, and a "layoutChildren" call is given in order to add some rows if necessary. |
Original comment by Samir Hadzic (Bitbucket: shadzic, GitHub: shadzic). Issue will be fixed in next pull request, I've made a test to prevent regression using TestFX, it's on my computer right now and when we will be using TestFX, it will be pushed:
|
Original comment by Jonathan Giles (Bitbucket: JonathanGiles, GitHub: JonathanGiles). Resolving Issue #358 with resizing issues. |
…ordingly. Issue controlsfx#358 verified for regression
Original report by Dennis Remme (Bitbucket: deso88, GitHub: deso88).
Issue #324 still exists if any rows become visible after
resizeRowsToDefault()
has been called.At the moment you have to call
resizeRowsToDefault()
again to resize them properly.Row headers G and H have not been resized because they have been invisible before.
The text was updated successfully, but these errors were encountered: