Skin Editor


Author
Message
Pawel Pietrzak
Pawel Pietrzak
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 4, Visits: 40
Hello,

I am trying to create a new skin/template using skin-designer. The application starts, however, as it tries to change the setting, nothing happens. What am I doing wrong? I'm using the trial version...

https://www.nevron.com/forum/uploads/images/c9c9be79-f5c5-435c-acc5-8a3e.png

I would like to change the settings of the button or anything, but nothing can be changed
https://www.nevron.com/forum/uploads/images/ce0866c5-cf59-488d-bbac-ba3b.png

Please, tell me what's wrong
Br,
Pawel
Replies
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Dmitriy,

Please, try the following:

nContextMenu1.PaletteInheritance = PaletteInheritance.None;
nContextMenu1.Palette.HighlightLight = color1;
nContextMenu1.Palette.HighlightDark = color2;


If you don't want to has a gradient color just set both properties to one color.

I hope this helps.

Best Regards,
Nevron Support Team


Dmitriy Matviiets
Dmitriy Matviiets
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 5, Visits: 34
Thanks for so fast response. Is there a way to set NTreeView to increase its size (length) automatically when inner nodes becomes unfolded? This is regarding issue with uncustomized scrollbar. In case if the control can adjust its size according to its content - I can put NTreeView inside some panel with better scroll bar.
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Dmitriy,

Here is some simple implementation of the requested functionality:

1. Disable scrollbars of the NTreeView

treeView.Scrollable = false;

2. Attach to NodeMouseClick event:

treeView.NodeMouseClick += TreeView_NodeMouseClick;

3. In the event handler do the following:

private void TreeView_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
{
    NTreeView view = sender as NTreeView;

    int lastIndex = view.Nodes.Count - 1;
    TreeNode lastNode1stLevel = view.Nodes[lastIndex];
    TreeNode lastNode = GetNextVisibleNodeRecursive(lastNode1stLevel);
    view.Height = lastNode.Bounds.Bottom;
}

private TreeNode GetNextVisibleNodeRecursive(TreeNode node)
{
    TreeNode nextNode = node.NextVisibleNode;
    if (nextNode == null)
    {
        return node;
    }
    else
    {
        nextNode = GetNextVisibleNodeRecursive(nextNode);
    }

    return nextNode;
}



Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Pawel Pietrzak - 7 Years Ago
Nevron Support - 7 Years Ago
Dmitriy Matviiets - 7 Years Ago
Nevron Support - 7 Years Ago
Dmitriy Matviiets - 7 Years Ago
Nevron Support - 7 Years Ago
Dmitriy Matviiets - 7 Years Ago
Nevron Support - 7 Years Ago
Dmitriy Matviiets - 7 Years Ago
Nevron Support - 7 Years Ago
Dmitriy Matviiets - 7 Years Ago
Nevron Support - 7 Years Ago
Zoltan Koch - 7 Years Ago
Nevron Support - 7 Years Ago
Zoltan Koch - 7 Years Ago
Nevron Support - 7 Years Ago
Zoltan Koch - 7 Years Ago
Nevron Support - 7 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search