Gradient Direction doesn't work right!


Author
Message
Ben Hayat
Ben Hayat
Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
When I set PanelManagePage or LinkMenu's GradientDirection to Horizontal or others, it always follow it's own direction at runtime. I'm trying to make the gradient uniform on a form, but I can't get to change it.



I'm using theme. Does that affect the Gradient Direction?



Actually, as I put different kinds of controls (ThemedGroupBox, Panel, ThemeContainer and etc.) I notice they do not even match direction.

How can I make them uniform?



Thanks!

..ßen
StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
I believe that the GradientDirection will follow that specified within the theme as long as the ThemeSupport property is set to Full.  If you set the ThemeSupport to ColorsOnly, it should allow you to change the gradient direction.  Not positive on that, though.
Ben Hayat
Ben Hayat
Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)Advanced StrataFrame User (550 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Ben Chase (05/24/2007)
I believe that the GradientDirection will follow that specified within the theme as long as the ThemeSupport property is set to Full. If you set the ThemeSupport to ColorsOnly, it should allow you to change the gradient direction. Not positive on that, though.




Thanks Ben; I'll look further into this!

..ßen
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search