jQuery UI Widgets › Forums › General Discussions › Navigation › Tree › icon position expand / collapse
This topic contains 7 replies, has 4 voices, and was last updated by svetoslav_borislavov 4 years ago.
-
Author
-
Good evening, I’m trying to put the expand / collapse icon on the right, but I can’t do it.
ThanksHello pepe,
You can achieve this with CSS. You can set
float: rightto the arrows elements.
Please, check this Example.Best Regards,
Martin YotovjQWidgets Team
https://www.jqwidgets.com/Good afternoon, in this example when changing the arrow to the right the text moves to the left. How can I vertically align the text?
Thank youHi,
You can use the CSS property vertical-align to align the text vertically.
Here is a forked example:http://jsfiddle.net/ae5n4xLo/If you need further help, let us know!
Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/Hi svetoslav_borislavov, thanks for your quick response, but it doesn’t solve my question. In the example, when I put the expand and contract arrow on the right, the text is rolled to the left and what I want is for the text to stay in its place vertically aligned with the word home.
Thank youHi,
You can achieve this using the CSS styling classes from the tree documentation.
https://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxtree/jquery-tree-styling-and-appearance.htm?search=treeHere it is: http://jsfiddle.net/vLkoug39/1/.
I will wait for your feedback.Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/Perfect, thank you very much.
Hi,
Happy to hear that, if you need any further help, do not hesitate to contact us!
Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.