Project

General

Profile

Support #2046

Navigation bar with autopopup submenu

Added by Vitaly Volochay over 8 years ago. Updated almost 8 years ago.

Status:
InProgress
Priority:
Normal
Assignee:
Target version:
-
Start date:
07/17/2013
Due date:
% Done:

0%

Estimated time:

Description

Hello! I am using WNavigationBar with WBootstrapTheme and some of toolbar's WMenuItem-s are submenus (WPopupMenu). I want submenus to popup automatically on hover. I am not familiar with html, css, etc. so can you help me please? :)

#1

Updated by Vitaly Volochay over 8 years ago

I tried to do this:

WPopupMenu* menu = new WPopupMenu;
WMenuItem* item = parentMenu->addMenu(label, menu);//root item of sub menu
item->addStyleClass("dropdown");

but it only works after first click on root item of submenu, before it hover on root item does nothing.

#2

Updated by Koen Deforche almost 8 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche

Also available in: Atom PDF