Lazarus

Programming => LCL => Topic started by: andresayang on October 17, 2021, 03:38:51 am

Title: TCalendar Title size
Post by: andresayang on October 17, 2021, 03:38:51 am
Hello,

Is there any way to programmatically retrieve a TCalandar "title" size ?
Maybe be able to have "cpNoWhere" size could be enough for what I need to do.

(I would like to set a button in this area and would like it to be always vertically centered, whatever distribution / theme)

(Under linux debian if possible. I notice that depending on theme, size (height) can slightly change)

Thanks

Title: Re: TCalendar Title size
Post by: jamie on October 18, 2021, 04:08:38 pm
In windows that control is what ever the OS is basically, its not locally native so in other targets it maybe able to be more adjustable.

 you could also make a local control like that, I don't really see a lot there involved..
Title: Re: TCalendar Title size
Post by: andresayang on October 21, 2021, 01:53:04 am
In windows that control is what ever the OS is basically, its not locally native so in other targets it maybe able to be more adjustable.

 you could also make a local control like that, I don't really see a lot there involved..

On linux, it is widgetset also, so I already switch to Callight, which is more adaptable, and full source to I can expose whatever i need which is no natively already here..

However, thanks for your reply,

Cheers
TinyPortal © 2005-2018