Project

General

Profile

Feature #3571

Abilty to setStyleClass for an "a" element in the menu library

Added by Anonymous almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09/09/2014
Due date:
% Done:

0%

Estimated time:

Description

Currently you can only set the ul and li elements, and using css selectors like:

.mystyle > a {...}

does not work all that well in some browsers, since this is a css3 feature that does not seem to work the same in all browsers.

This feature would allow different menu css to be used for a menu system.

#1

Updated by Koen Deforche over 7 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.3.4

Hey,

You can use WMenuItem::anchor() to access and manipulate the 'a' element.

Regards,

koen

#2

Updated by Koen Deforche over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF