Bug #1373
closedwhte-space in span style
0%
Description
Hi.
Tell me please.
I`m a create menu:
Wt::WSubMenuItem *subMenu2 = new Wt::WSubMenuItem(tr("information"),new Wt::WText(tr("information")));
Wt::WMenu *subMenuItems2 = new Wt::WMenu(contents,Wt::Vertical);
mi = subMenuItems2->addItem
(tr("services"), wrapView(&Portal::reports), WMenuItem::PreLoading);
I have a long string in the menu.
Адреса сервисных центров электротавары
How I can to remove the style "white-space" from object ?
!!
Files
Updated by Koen Deforche about 12 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
Hey,
You can only do that by specializing the WMenuItem. However, for release 3.3.0 we plan a number of changes with the integration of twitter's bootstrap framework, which also solves this issue.
Regards,
koen
Updated by Koen Deforche almost 12 years ago
- Status changed from Feedback to Resolved
- Target version set to 3.3.0
Updated by Евгений Илюшин almost 12 years ago
Hi.
I solved this problem this way:
((WAnchor*)mi->itemWidget())->setWordWrap(true);
And "style="white-space:nowrap;\" has been removed.
Regards,
Eugene Ilushin.
Updated by Koen Deforche almost 12 years ago
- Status changed from Resolved to Closed