CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

ThemeSwitcher layout

by JMiller » 14 Aug 2014 13:29

Hello!

I found three inconsistencies in the ThemeSwitcher:

1. If the ThemeSwitcher is not wide enough, the open sympol is put into the next line.
ThemeSwitcher2.png

If the Region ends there and for example a frame is loaded into the Region below, the ThemeSwitcher get's overlapped by that Region (no matter how high the ZIndex).
ThemeSwitcher3.png


2. Depending on the width of the control, the theme titles are either below or beside the DatePicker example.
ThemeSwitcher1.png


3. The scrollbar alway makes the ThemeSwitcher window 13 pixels wider than the control.


Best regards,
JM
You do not have the required permissions to view the files attached to this post.
JMiller
 
Posts: 135
Joined: 13 Jul 2012 05:01

by Jorge Sousa » 14 Aug 2014 14:28

Hi

please, you have to post some code, how should we know in what context is this happening?

all issues, seems to be related to the width? what do you consider inconsistences?
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by JMiller » 14 Aug 2014 15:34

cgdevtools_support wrote:what do you consider inconsistences?
I didn't want to write "errors", may be "optical faults" is better.

cgdevtools_support wrote:Hi

please, you have to post some code, how should we know in what context is this happening?

all issues, seems to be related to the width?


1. I tried this in a little new test project and it goes like this:
I put two Regions in the MainForm.
Region1->Align = alTop; Region2->Align = alClient.
A ThemeSwitcher is located in the first Region with about 2 pixels to the lower border. (e.g. Region1->Height = 200; ThemeSwitcher->Top = 176; ThemeSwitcher->Height = 22;)
If I click on the ThemeSwitcher it opens, but behind Region2 like shown in ThemeSwitcher3.png (c.f. my first post).
I can send you the test case of course, but it's in C++ again and can be reproduced as descriped.

2. Just set ThemeSwitcher->Width = 150 at design time and open the control at run time.
3. This happens in your demo, too. I just think it looks bad:
ThemeSwitcher4.png



Best regards,
JM
You do not have the required permissions to view the files attached to this post.
JMiller
 
Posts: 135
Joined: 13 Jul 2012 05:01

by Jorge Sousa » 14 Aug 2014 17:52

Hi

Ok, thanks for your cooperation.

The appearance was improved.

Available in incoming develop version >= 2.3.0.28
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by JMiller » 03 Sep 2014 13:34

Hello!

I updated to 2.3.0.37 (and IW14). The issues 1a (open symbol) and 3 are resolved :)
Issues 1b (TS disapearing behind another Region) and 2 remain :(

Should I send you that test case I mentioned?


Best regards,
JM
JMiller
 
Posts: 135
Joined: 13 Jul 2012 05:01

by Jorge Sousa » 04 Sep 2014 09:32

Hi

Issue 1b (TS disapearing behind another Region)
, can you detail more please?

and 2 remain :(


2. Just set ThemeSwitcher->Width = 150 at design time and open the control at run time.


What issue is this?
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by JMiller » 04 Sep 2014 09:54

cgdevtools_support wrote:
Issue 1b (TS disapearing behind another Region)
, can you detail more please?


If I have two Regions and a ThemeSwitcher (TS) in one of them, the TS cannot overlap the other Region.

ThemeSwitcher5.png



cgdevtools_support wrote:
and 2 remain :(


2. Just set ThemeSwitcher->Width = 150 at design time and open the control at run time.


What issue is this?


The numbering is the same as in the opening post. Number 2 is the one, where the titles are below or beside the example, depending on their title length.

ThemeSwitcher1a.png



Best regards,
JM
You do not have the required permissions to view the files attached to this post.
JMiller
 
Posts: 135
Joined: 13 Jul 2012 05:01

by Jorge Sousa » 04 Sep 2014 10:19

Hi

For the first issue you just have to set zindex of top region higher than bottom region.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by JMiller » 04 Sep 2014 10:34

It was higher, but Region 1 was in another Region, which also needed a higher ZIndex.

Thanks for the pointer.
JMiller
 
Posts: 135
Joined: 13 Jul 2012 05:01

by Alexander Bulei » 15 Sep 2014 18:31

Hi JMiller,

This issue is fixed in V2.3.0.42.
Also, we add new properties:

  • PopupWidth
  • DisplayMode

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQThemeSwitcher

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.