Jump to content


Photo

ShowCellTextFitHint strange behavior


  • Please log in to reply
3 replies to this topic

#1 ObiWan

ObiWan
  • Members
  • 46 posts

Posted 20 February 2024 - 05:40 PM

Hi ,

i Have a grid and one of the column has ShowCellTextFitHint enabled: even if all contents are longer than the width of the column only some row show hint.
Only if I set the column as resizable all works, but I do not want the column is resizable.

 

Can you help me ?

 

Thanks 

 

 



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 20 February 2024 - 05:43 PM

Hello,

I will investigate this. Hopefully is just a am of statement.


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 ObiWan

ObiWan
  • Members
  • 46 posts

Posted 04 March 2024 - 06:33 PM

Hi,

any news ?

 

Thanks



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,194 posts
  • Gender:Male

Posted 06 March 2024 - 09:40 PM

Hello,

 

I found where is the if statement (function TNxTextColumnView.GetBestSize: TSize) but I'm not sure if I can simply switch it off :(

 

I will need to think a little bit more about what to do. Maybe at the moment you can remove if Column.Resizable else statement, but I will need to find a more permanent solution.


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users