Height of custom ASP tab?

Created at 23 Jun 2024, 09:48
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
MA

matcwhite

Joined 03.09.2023

Height of custom ASP tab?
23 Jun 2024, 09:48


Hello,

Is it possible to get the Height of a custom tab in the ASP?

I have a ScrollViewer in a custom ASP tab, which I have set to a fixed height to fill the tab and the content scrolls within it.

However if I change the interface scale (which I frequently do using ctrl & -/+), the ScrollViewer Height is no longer valid and content disappears off the bottom of the tab. Is it possible to fetch the current Height of the Tab so that I can programmatically adjust the height of the ScrollViewer?

Many thanks,

Mat


@matcwhite
Replies

PanagiotisCharalampous
26 Jun 2024, 08:13

Hi Mat,

Unfortunately it is not.

Best regards,

Panagiotis


@PanagiotisCharalampous

ctid5996231
26 Jun 2024, 08:21 ( Updated at: 26 Jun 2024, 11:44 )

RE: Height of custom ASP tab?

PanagiotisCharalampous said: 

Hi Mat,

Unfortunately it is not.

Best regards,

Panagiotis

No worries, thanks for replying :)


@ctid5996231