[SOLVED] Suggestion - NavigationBar

Answered
0
0

Hi!

Could you please think about adding new properties to the NavigationBar?

1 – Allow indentation (padding) of subitems
2 – Allow to change the color of the selected item
3 – Allow to change the color of the item where the mouse pointer is positioned (when I change the background color of the item this feature no longer works)

Thanks,
Ulisses.

  • You must to post comments
Best Answer
0
0

Hi Ulisses,

You will find the changes here: https://github.com/iceteagroup/wisej-extensions

  1. NavigationBar.Indentation is a new property.
  2. NavigationBar.SelectedItem and SelectedItemChanged are a new property and event, corresponding to a new “selected” state in the theme mixin.
  3. This was fixed a few builds ago.

You can change the indentation in code or designer.

You can change the selected text and background, as well as the hovered color in a theme mixin or in code by changing the theme using Application.Theme.Colors[“navbar-background-selected”] = “red”;

Or in Themes/App.mixin.theme:

{
  "colors: {
    "navbar-text-selected": "yellow",
    "navbar-background-selected": "red",
    "navbar-text-hover": "yellow",
    "navbar-background-hover": "red"
  }
}

HTH

  • Ulisses
    Thank you very much, Luca! You’re the best!
  • You must to post comments
0
0
Hello, I want to ask for help with the problem in the Navigation Bar component for the answer in number 3 for wisej version 3.x.x and above now it can't work anymore
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.