Profile Picture

NUIdoument won't change skin or pelete

Posted By JSW W. 13 Years Ago
Author
Message
JSW W.
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
I create NUIDocument by code as m_DocMan, m_DockManager
When i change skin or color scheme
The m_DockManager do not change color but content inside did change.

Attach picture show that when change skin the splitter of m_DockManager did not change and stay white.

below some code i used...


If (True) Then
'Update Schemem for tabs
Palette.Scheme = curColorScheme
NUIManager.Palette.Scheme = curColorScheme
m_DockManager.Palette.Scheme = curColorScheme
w_DockManager_forDatamanager.Palette.Scheme = curColorScheme
m_CmdBarsManager.Palette.Scheme = curColorScheme 'for desktop toolbar

'Update all controls with new color theme


For Each doc As NUIDocument In m_DocMan.Documents
Dim tmp_NDockManager As NDockManager = DirectCast(doc.Client, NDockingPanelContainer).Manager()
tmp_NDockManager.Palette.Scheme = curColorScheme
Next

NevronPalette = NUIManager.Palette
NUIManager.ApplyPalette()
End If


Hi I also found that if i add NuiPanel it will have not problem with splitter color. However, if I added NuiDocument I will get white splitter color.

Thanks,


Attachments
splitter.gif (194 views, 6.00 KB)



Similar Topics


Reading This Topic