Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Default padding in the Text Item  (Read 4525 times)

merabi

  • Newbie
  • *
  • Posts: 29
    • View Profile
Default padding in the Text Item
« on: July 12, 2024, 02:27:00 pm »
Hi Alex
In the older versions there were small padding in the Text Item by default. Now I am using 1.7.7 version. In this version default padding gone. Therefore I need to add this padding myself every time when I place Text Item in the report. When I open reports created in older version I must manually edit all text items to add this paddings. Can you correct this behaviour?

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Default padding in the Text Item
« Reply #1 on: July 16, 2024, 02:17:51 pm »
Hi.
I will think about it.
I could add a default border setting for new reports, but for older reports I don't see a solution.

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Default padding in the Text Item
« Reply #2 on: July 25, 2024, 07:15:42 pm »
Hi!
I have add default item padding.
There are two ways to use it you can set it in limereport/limereport.pro ->
DEFINES += DEFAULT_ITEM_PADDING=0 or in CMakeLists.txt -> set(DEFAULT_ITEM_PADDING 0) or change it in the report properties for each specific report

merabi

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Default padding in the Text Item
« Reply #3 on: July 26, 2024, 10:05:44 am »
Thank you Alex for your effort

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Default padding in the Text Item
« Reply #4 on: July 26, 2024, 04:48:37 pm »
merabi, A bottle of wine is on you :)