View.Colors.Face
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 923
- Joined: Wed Sep 30, 2009 6:53 pm
View.Colors.Face
I see in 2.5 the View.Colors.Face property behave differently. In particular, the area behind the document tabs just below the main toolbars and the area behind the Page, Bookmark, etc., tabs stay a dark gray despite what color is set in View.Colors.Face. Before, these areas took on the colors of the lower part of the toolbar region. Is there a way to go back to how it used to be before 2.5? I'm setting the Face color to a very light blue which comes though nicely on the toolbars, but then there appears a big dark gray space behind the document tabs which doesn't look real good in a blue theme.
I also noticed that if I set View.Colors.Face to a darker color, the color seems to come through in the AppWorkSpace area. Which is weird because there is a separate call for this, that is View.Colors.AppWorkspace.
Lastly, when I tried View.Colors.Window it colored the PagesBack areas. Again, in the help there is a View.Colors.PagesBack call for this.
I just wondering if these View.Colors got inadvertantly messed up a bit in the first cut of 2.5.
See that attached file for screens shots showing what I mean.
I also noticed that if I set View.Colors.Face to a darker color, the color seems to come through in the AppWorkSpace area. Which is weird because there is a separate call for this, that is View.Colors.AppWorkspace.
Lastly, when I tried View.Colors.Window it colored the PagesBack areas. Again, in the help there is a View.Colors.PagesBack call for this.
I just wondering if these View.Colors got inadvertantly messed up a bit in the first cut of 2.5.
See that attached file for screens shots showing what I mean.
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: View.Colors.Face
Hi, jeffp.
In the new build (upcoming) you will be able to switch off the top/bottom shadows on the main dark-gray background:
ctrl.SetProperty("View.ShowAppWorkspaceShadow", "false", 0);
and optionally change the main background style:
ctrl.SetProperty("View.AppWorkspaceStyle", textureIndex, 0); // 0 - solid, 1 - 9 - textured
---
In the current build you may change color of main background (dark-gray by default) by:
ctrl.SetProperty("View.Colors.AppWorkspace", <RGB_Color>, 0);
---
Note: the old property "View.Colors.PagesBack" is obsolete in the new version (>= build 188), the current release uses one background in non-document- and document- areas.
Best
Regards.
In the new build (upcoming) you will be able to switch off the top/bottom shadows on the main dark-gray background:
ctrl.SetProperty("View.ShowAppWorkspaceShadow", "false", 0);
and optionally change the main background style:
ctrl.SetProperty("View.AppWorkspaceStyle", textureIndex, 0); // 0 - solid, 1 - 9 - textured
---
In the current build you may change color of main background (dark-gray by default) by:
ctrl.SetProperty("View.Colors.AppWorkspace", <RGB_Color>, 0);
---
Note: the old property "View.Colors.PagesBack" is obsolete in the new version (>= build 188), the current release uses one background in non-document- and document- areas.
Best
Regards.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 923
- Joined: Wed Sep 30, 2009 6:53 pm
Re: View.Colors.Face
So are you saying that the area behind the document tabs is actually part of the AppWorkSpace? Again, I'm not concerned about the AppWorkspace color behind the PDF page that is being displayed. I just want the dark gray color removed from behind the document tabs that appear just below the main toolbars.
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: View.Colors.Face
Hi, jeffp.
In the new build (upcoming) you will be able to use the new property to switch on/off the tab bar background transparency:
Best
Regards.
In the new build (upcoming) you will be able to use the new property to switch on/off the tab bar background transparency:
Code: Select all
ctrl.SetProperty("View.TransparentTabBar", "false", 0);
Regards.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 923
- Joined: Wed Sep 30, 2009 6:53 pm
Re: View.Colors.Face
Will this also affect the Pages, Bookmarks, etc, tab area as well on the left hand panel?
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: View.Colors.Face
Hi, jeffp.
No, for main Tab-Bar background only..Will this also affect the Pages, Bookmarks, etc, tab area as well on the left hand panel?
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 923
- Joined: Wed Sep 30, 2009 6:53 pm
Re: View.Colors.Face
Will there be anything to control/remove the dark gray color behind the Pages, Bookmarks, tabs?
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: View.Colors.Face
Hi, jeffp.
You may try change the main background color to more light color:Sorry, but no more methods to change background color behind the Pages, Bookmarks, tabs..
Wait for V3 to more control on the UI.
HTH.
You may try change the main background color to more light color:
Code: Select all
ctrl.SetProperty("View.Colors.AppWorkspace", RGB(192,192,192), 0); // -2 value means "Auto", based on the current "Face" color
Wait for V3 to more control on the UI.
HTH.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 923
- Joined: Wed Sep 30, 2009 6:53 pm
Re: View.Colors.Face
Ok. This should be ok for now.
Also, were View.TransparentTabBar and View.ShowAppWorkspaceShadow supposed to work in build 189 or were you referring to the build after that.
I've got 189 and they don't seem to do anything is that build.
Also, were View.TransparentTabBar and View.ShowAppWorkspaceShadow supposed to work in build 189 or were you referring to the build after that.
I've got 189 and they don't seem to do anything is that build.
-
- Site Admin
- Posts: 7371
- Joined: Wed Mar 25, 2009 10:37 pm
Re: View.Colors.Face
Hi jeff,
do you need anything more done in this thread?
do you need anything more done in this thread?
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: View.Colors.Face
Hi, jeff.
The View.TransparentTabBar and View.ShowAppWorkspaceShadow properties should be working correctly in 189 build. Please let me known if not and give me example code in this case...
Best
Regards.
The View.TransparentTabBar and View.ShowAppWorkspaceShadow properties should be working correctly in 189 build. Please let me known if not and give me example code in this case...
Best
Regards.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 923
- Joined: Wed Sep 30, 2009 6:53 pm
Re: View.Colors.Face
My bad. I had ShowAppWorkspaceShadow spelled wrong. It all seems to work fine now. Sorry for the bother.
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am