Project

General

Profile

WTreeview expand-collapse icon got lost when clicked on it

Added by Aziz Gokhan Narin over 4 years ago

Hello,

When I click the plus icon to show inner item on treeview, the plus icon is getting lost and it does not never chance to collapse again. And the icon of my items retrieves to over it. Do anybody has an idea for the solution?


Replies (4)

RE: WTreeview expand-collapse icon got lost when clicked on it - Added by Korneel Dumon over 4 years ago

Hi Aziz,

do you have any more details about this? Maybe a small test-project I can run?
It seems to work in the widget-gallery: [[[https://www.webtoolkit.eu/widgets/trees-tables/trees]]]

RE: WTreeview expand-collapse icon got lost when clicked on it - Added by Aziz Gokhan Narin over 4 years ago

Hi Korneel,

Thank you for you quick response and your consideration. I added a qt project about it.

Thanks in advance for your assist.

RE: WTreeview expand-collapse icon got lost when clicked on it - Added by Korneel Dumon over 4 years ago

If you want to use bootstrap, you should use WApplication::setTheme(), don't just add the stylesheet. Wt needs to be aware that bootstrap is used. It will also automatically add the stylesheets, so you can remove the calls to useStyleSheet().
Note that the default version of bootstrap is still v2, so use WBootstrapTheme::setVersion() to set it to v3.

RE: WTreeview expand-collapse icon got lost when clicked on it - Added by Aziz Gokhan Narin over 4 years ago

Thank you so much Korneel. I got it. Done.

To work or to decide for a professional view is a big deal in deed. Because all "css"es scale the widgets with different size and my forms' view distort for this reason. Like my tableview seems better via BootstrapV3 but size of fonts and placing are also changing as default CSS. That's why I made mix them in nonsense :)

Have a nice day, and thank you again.

    (1-4/4)