Jump to content


Photo

UniHTMLMemo Grow Text ToolBar Button Text Size Limit

unihtmlmemo grow text toolbar button size limit

  • Please log in to reply
2 replies to this topic

#1 mos

mos

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 166 posts

Posted 09 July 2018 - 06:17 AM

I have a UniHTMLMemo with ShowToolBar set to True.

 

When I click the grow text button the text size increases but it stops increasing at certain point (my guess probably due to a set maximum size).
I need to increase the text size beyond the maximum size value.

How can I do this?

 

Delphi XE2
UniGUI Complete Professional: 1.10.0.1466


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 5177 posts

Posted 09 July 2018 - 10:27 AM

Hi,

 

Html editor uses HTML <font> size Attribute

 

<font size="number">, number - A number from 1 to 7 that defines the size of the text. Browser default is 3.


  • 0

#3 mos

mos

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 166 posts

Posted 10 July 2018 - 11:02 AM

Hi Delphi Developer,

 

  Unfortunately font size = 7 is a little on the small size especially if the text is being displayed on a monitor in a large space.

 

  Is it possible to change the behavior of the button so it outputs CSS instead such as:

 

      style="font-size:130px"

 

 Which will allow the end user to set a larger font size.


  • 0





Also tagged with one or more of these keywords: unihtmlmemo, grow, text, toolbar, button, size, limit

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users