The gradient to and from are inverted between the FNB_FANCY_TABS and
FNB_VC8 styles. I have attached a patch which fixes this so the the To
and From colors are in the same position (eg for top orientated tabs
the To color is on Top and the From color is on the bottom)
--- C:\Documents and
Settings\Owner\Desktop\Downloads\FlatNotebook\Old_FlatNotebook.py Sun
Oct 22 20:32:46 2006
+++ C:\Documents and
Settings\Owner\Desktop\Downloads\FlatNotebook\FlatNotebook.py Thu Oct
26 02:26:38 2006
@@ -2538,8 +2538,8 @@
pc._colorTo =
LightColour(wx.SystemSettings_GetColour(wx.SYS_COLOUR_3DFACE), 0)
pc._colorFrom =
LightColour(wx.SystemSettings_GetColour(wx.SYS_COLOUR_3DFACE), 60)
- col2 = (pc.HasFlag(FNB_BOTTOM) and
[pc._pParent.GetGradientColourTo()] or
[pc._pParent.GetGradientColourFrom()])[0]
- col1 = (pc.HasFlag(FNB_BOTTOM) and
[pc._pParent.GetGradientColourFrom()] or
[pc._pParent.GetGradientColourTo()])[0]
+ col2 = pc._pParent.GetGradientColourTo()
+ col1 = pc._pParent.GetGradientColourFrom()
# If colorful tabs style is set, override the tab color
if pc.HasFlag(FNB_COLORFUL_TABS):
flatnotebook1.patched (910 Bytes)
···
--
Dj Gilcrease
OpenRPG Developer
~~http://www.openrpg.com
OpenRPG+ Lead Developer
~~http://openrpg.digitalxero.net
XeroPortal Creator
~~http://www.digitalxero.net
Web Admin for Thewarcouncil.us
~~http://www.thewarcouncil.us