www.sdlsuite.com Forum Index www.sdlsuite.com
Discussion of technical aspects of the SDL Component Suite
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Meter changes size from design to run-time.

 
Post new topic   Reply to topic    www.sdlsuite.com Forum Index -> GuiPack
View previous topic :: View next topic  
Author Message
dmumert



Joined: 22 Nov 2006
Posts: 1

PostPosted: Wed Nov 22, 2006 1:02 am    Post subject: Meter changes size from design to run-time. Reply with quote

Hi

The meter changes the size from the design to run time. You can also get it to change when you switch a form to 'View as Text' and then switch back to 'View as Form'. The meter size dosn't change just the meter scale, so instead of filling the entire rectangle it shrinks to about half size and sits in the middle of the rectangle. I am using a bunch of meters on a page and each one is 65 pixels high and 113 wide. I see the same effect on larger sizes as well.

Dave
Back to top
View user's profile Send private message
hlohning



Joined: 08 Sep 2006
Posts: 277
Location: Austria

PostPosted: Wed Nov 22, 2006 6:03 am    Post subject: Reply with quote

Hi Dave,

I checked this behavior. However, when I switch between "View as Text" and "View as Form", I don't see any changes. The size of the meter stays the same.

Also, I've never heard of such a behavior from other customers.

Regards,

Hans
_________________
Hans Lohninger
Software Development Lohninger
http://www.lohninger.com/
Back to top
View user's profile Send private message Visit poster's website
TurboBob



Joined: 30 Sep 2006
Posts: 8

PostPosted: Fri Nov 24, 2006 6:48 pm    Post subject: Mine does the same thing Reply with quote

video here:

www.bailey-eng.com/gaugesize.avi

During this session of BCB I moved the two lower left meters around a little and they then appeared larger (the same happened when I created them). They appear smaller at runtime. Note all the small type meter components are sized the same.

If I exit BCB and restart, all the meters appear small.
Back to top
View user's profile Send private message
cltom



Joined: 08 Sep 2006
Posts: 9

PostPosted: Wed Jun 13, 2007 4:47 pm    Post subject: Reply with quote

Hej,

I have the same issue. The meter changes its size during run time.

SDL Version 9.0
Turbo Delphi 2006

It has got something to do with the rims. Basically, if the rims are set to defaults, the meter will stay in correct size. However, the issue occurs when the rims are set to zero.

The issue can be reproduced in the following way:
- create new meter
- set all rims to zero
- resize the meter component, so that the meter itself is resized during designtime
- compile => the meter in runtime has the same size as it would have rims

Playing around a little bit brought a "solution":
- resizing the component during design-time will also bring the correct meter-size (just an design-time)

regards
thomas
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.sdlsuite.com Forum Index -> GuiPack All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group