Recent

Author Topic: TCalendar Title size  (Read 2293 times)

andresayang

  • Jr. Member
  • **
  • Posts: 62
TCalendar Title size
« 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

« Last Edit: October 17, 2021, 03:40:47 am by andresayang »
Linux, Debian 9
Lazarus: always latest release

jamie

  • Hero Member
  • *****
  • Posts: 5024
Re: TCalendar Title size
« Reply #1 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..
The only true wisdom is knowing you know nothing

andresayang

  • Jr. Member
  • **
  • Posts: 62
Re: TCalendar Title size
« Reply #2 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
Linux, Debian 9
Lazarus: always latest release

 

TinyPortal © 2005-2018