* * *

Author Topic: ATTabs  (Read 10453 times)

Alextp

  • Sr. Member
  • ****
  • Posts: 460
    • UVviewsoft
Re: ATTabs
« Reply #45 on: September 23, 2017, 09:14:19 am »
now prop OptButtonLayout here.
it sets buttons on left, on right.
possible buttons:

<
>
v
+

possible layouts (separator ,):

,v
<>,v
<>,v+
<>v,
,<>v
,<>v+
<,>
<,>v
v<,>
...etc


change:
plus-tab paints not via font. but via Canvas.Line.

change:
can show plus-tab and plus-button. or one of them.
plus-button better. its not hidden if 100 tabs.


Alextp

  • Sr. Member
  • ****
  • Posts: 460
    • UVviewsoft
Re: ATTabs
« Reply #46 on: September 23, 2017, 04:26:12 pm »
Added wiki file (see MD files in Github) for all properties:

https://github.com/Alexey-T/ATTabs/blob/master/wiki/options.md

Alextp

  • Sr. Member
  • ****
  • Posts: 460
    • UVviewsoft
Re: ATTabs
« Reply #47 on: October 06, 2017, 06:28:27 pm »
Added option of flat mode:
- OptShowFlat
- OptActiveMarkSize (for new mode)
- ColorActiveMark (for new mode)

Flat mode looks like in screenshot - of CudaText
« Last Edit: October 06, 2017, 06:31:15 pm by Alextp »

Alextp

  • Sr. Member
  • ****
  • Posts: 460
    • UVviewsoft
Re: ATTabs
« Reply #48 on: October 11, 2017, 02:26:50 pm »
Big update

Added prop OptPosition (enum: top/bottom/left/right)
Aded prop OptSpacer, OptSpacer2 (spacer2 is only for left/right position)

Text is painted horizontal anyway.
Screenshot of new demo with left kind

Alextp

  • Sr. Member
  • ****
  • Posts: 460
    • UVviewsoft
Re: ATTabs
« Reply #49 on: October 12, 2017, 02:49:12 pm »
Update

- sorry: I renamed 4 enums values [they were named not nice for me, e.g. long name tabPositionLeft renamed to atpLeft]
You will need to rename ids in app.

- added 4 props: OptColoredBandForLeft/ ForRight/ ForTop/ ForBottom

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus