Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Headers not at the same place (Read 2071 times)
elwin
Ex Member


Headers not at the same place
Feb 22nd, 2010 at 3:14pm
Print Post  
Hello,

I have made the headerheight of all views (MonthRange,SingleMonth,WeekRange,TimeTable) the same. A little bit confusing was the different property names (HeaderHeight, MainHeaderHeight, TimePeriodHeaderHeight and MainHeaderSize).

The Header of the WeekRange is at the top, the header of SingleMonth and timeTable is something lower, the header of MonthRange is lower again.

I have placed a button with the same heigth as the header at the same position as the header. Because of the different placing of the header the button looks funny.

Is there a property to change the header placing?

Thanks in advance.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Headers not at the same place
Reply #1 - Feb 23rd, 2010 at 9:14am
Print Post  
What exactly do you mean by the headers are "something lower"? I have tried this here and all of them appear to be at the top.

Regarding the positioning of a button within a header, you can use another approach. You can custom draw a button within the header and handle the header's Click event in order to determine whether your 'button' has been clicked on. A small application illustrating this technique can be downloaded from here:

https://mindfusion.eu/_samples/App2.zip

If this is not what you require, can you please provide me with an image of what you don't like about the headers' positioning in different views?

Regards,
Meppy
  
Back to top
 
IP Logged
 
elwin
Ex Member


Re: Headers not at the same place
Reply #2 - Feb 23rd, 2010 at 11:07am
Print Post  
The strange thing is when I delete the calendar control and add a new one again the header is just fine.
I think by playing around with properties over and over again the control is a little bit messed up.

Instead of changing the properties directly I will change them through code in the future so I can easily replace the control without losing the property values.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint