JavaFX Tutorial part6 How to use GridPane

preview_player
Показать описание
GridPane is useful container for layout design.

addColumn() method places the nodes vertical direction. it will put a node by increasing 1 row index while holding the column index fixed.

addRow() method places the nodes horizontal direction. it will put a node by increasing 1 column index while holding the row index fixed.

span must be 1 or above because it is length of column or row.
For example, column span of 2 means the number of column index a node can take is 2.
Рекомендации по теме
Комментарии
Автор

aren't you totally opposite with rowindex and column index?
\

VivekRijal
Автор

For some reason, this whole grid organization confused me, but it clicked when you explained the columns and rows while putting them into a chart. Thanks for the video!

mgray
Автор

rowindex, columnindex vice versa. you interchanged them. Still you won my heart.

Tanzeel
Автор

This was extremely helpful, thank you so much!

jenny
Автор

i've been looking for this information for hours. Thank you so much.

brngylni
Автор

You are showing a card that has 0, 0 to 9, 9. But the Grid plane doesn't work like that by default. How do I increase the number of rows and columns?

Mytwistedvoices
Автор

thanks so much i was stuck in my project, it helped a lot!!

enricollen
Автор

Isn't it the opposite row first and column second just like an array?

diiabliiczkaa
Автор

@ProjectRin thanks bro, good job, keep doing the amazing work .
thank you so much, its not about what you gave us(knowledge ) it is about how you gave us, amazing bro.

faraxabdi
Автор

is there a way to read the node from particular index and update it?

roobankumar
Автор

ya i think its row followed by column (2->row, 4->column)

daktariissah
Автор

Great video! Thanks for posting, this helped me a lot :)

harriethaisty
Автор

hOr-eh-zohn-tuh-Lee (not phonetically accurate, but how it sounds when pronounced)

generic
welcome to shbcf.ru