Jump to content


NxPanel and NxInfoPanel gradients


  • Please log in to reply
2 replies to this topic

#1 wpxyz

wpxyz
  • Members
  • 13 posts

Posted 12 February 2012 - 02:42 PM

If I apply gradients to nxPanel and nxInfoPanel they run in opposite directions.The NxPanel's BackgroundStyle=pbHorzGradient (for ColorScheme = csDefault) goes from white to blue, wherease the NxInfoPanel's FillStyle = fsHorzGradient goes from blue to white. The same for the vertical gradients. Is there a way to reverse the direction of the gradients to get a consistent look?

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 6,686 posts
  • Gender:Male

Posted 12 February 2012 - 10:27 PM

Hi,

NxInfoPanel mimic MS Outlook panel and starting point for gradient is always used from current color scheme.

I will think about having AdaptiveColors property where you will be able to turn off auto-colors. Therefore I may add StartingColor property, or something similar.
boki@bergsoft.net
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 wpxyz

wpxyz
  • Members
  • 13 posts

Posted 13 February 2012 - 11:14 PM

Thank you.

As I found out for NxPanel, the "Color" property defines the end color of the gradient after "AdaptiveColors" has been set to false. But how do I set the start color?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users