Recent

Author Topic: [ANN] Eye-Candy Controls 0.9.2  (Read 25464 times)

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #15 on: April 13, 2015, 01:02:09 am »
A bug.

File ecchecklistbox.pas at line 323 replace
Code: [Select]
clWindowText  with
Code: [Select]
GetColorResolvingDefault(Font.Color, clWindowText)
I will upload bugfix release soon.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #16 on: April 26, 2015, 11:22:51 pm »
I uploaded fixed version of EC-Controls - 0.9.2.6.

You can download from SourceForge: http://sourceforge.net/projects/eccontrols/files/ecc_15-04-26/ or from DropBox https://www.dropbox.com/s/9ijnmulonpu8h9y/ECC.zip?dl=0.

From CHANGELOG.txt:

TCustomECSpinBtns: Improved aligning of Caption. It can be aligned to the left
  or to the right now. Caption is centered when Margin=-1 (default).
  Margin>=0 aligns to the left or right (it also depends on BiDiMode). (Recently someone proposed this feature here.) 

TECSlider: Min can be set >Max and Max can be set <Min while Updating (UpdateCount>0).
TECSpinEdit and TECSpinBtns: Min can be set >Max, Max can be set <Min and
  Middle can be set <Min or >Max while Updating (UpdateCount>0).

TECCheckListBox and TECColorCombo can now change Font.Color (reported by josh in this thread).
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Josh

  • Hero Member
  • *****
  • Posts: 1274
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #17 on: May 12, 2015, 08:56:53 pm »
Hi Blaazen

Apologies for delay, just found the post.

I have just installed ECC, and it must be me.

As I cannot change font color to Anything but Black. TECCheckListBox

Also how can I have the check boxes on the left; and the text to be Left justified near check boxes.? Like a standard checklistbox
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #18 on: May 12, 2015, 09:13:14 pm »
Quote
As I cannot change font color to Anything but Black. TECCheckListBox

This is corrected in the latest release (2015-04-26).

Quote
Also how can I have the check boxes on the left; and the text to be Left justified near check boxes.? Like a standard checklistbox

Currently it can be done by changing BiDiMode to bdRightToLeft only.
I will introduce boolean property Reversed (ECSlider, ECRuler etc. already have). I will write it on my ToDo, it will be in the next release.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Josh

  • Hero Member
  • *****
  • Posts: 1274
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #19 on: May 12, 2015, 10:01:28 pm »
Hi

I have the latest I think eye candy, just downloaded. And I cannot change font color, if I choose the BidiMode, it is not formatted Next to check box.
2 pics.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #20 on: May 12, 2015, 10:07:54 pm »
No, the latest release is 0.9.2.8, you got 0.9.2.6.

I completely forgot that there's already property Alignment. So you do not need to change BiDiMode and there's no need to add property Reversed.

And your notice that text is not next to checkboxes: this is by design. Text is aligned to one side and all checkboxes to opposite.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Josh

  • Hero Member
  • *****
  • Posts: 1274
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #21 on: May 12, 2015, 10:22:57 pm »
Hi

It must be me, I have just downloaded again, and I stil get 0.9.2.6.
The 1st part of changlog file reads
Quote
2015-04-26 0.9.2.6
==================
TCustomECSpinBtns: Improved aligning of Caption. It can be aligned to the left
  or to the right now. Caption is centered when Margin=-1 (default).
  Margin>=0 aligns to the left or right (it also depends on BiDiMode).
Where can I get 0.9.2.8 ?

Is it not possible to allign the text next to checkboxes?
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #22 on: May 12, 2015, 10:54:28 pm »
Quote
Is it not possible to allign the text next to checkboxes?
No.

Quote
Where can I get 0.9.2.8 ?
.

Ups, sorry, my mistake. I didn't uploaded yet. I am going to do  it now.

EDIT: However, patch for changing Font.Color of TECCheckListBox was done 2015-04-13 at version 0.9.2.2.
« Last Edit: May 12, 2015, 10:57:20 pm by Blaazen »
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #23 on: May 12, 2015, 11:19:00 pm »
I uploaded the latest version 0.9.2.8 to SourceForge: https://sourceforge.net/projects/eccontrols/files/ecc_15-05-12_0-9-2-8/

It has only a few improvements against the previous version.

I tested again Font.Color of TECCheckListBox in Qt and in Win32 (under Wine) and it works well.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

bill0287

  • Full Member
  • ***
  • Posts: 146
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #24 on: May 13, 2015, 12:24:08 am »
I just tried to install in 1.2.6, Win 8.1, 64-bit and it would not compile. See screen shot attached.

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #25 on: May 13, 2015, 12:47:29 am »
See README.txt bundled with the package. This is already resolved in Lazarus 1.4 and in trunk.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

bill0287

  • Full Member
  • ***
  • Posts: 146
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #26 on: May 13, 2015, 01:11:19 am »
That did it. My bad for missing the readme file.  :-[

Josh

  • Hero Member
  • *****
  • Posts: 1274
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #27 on: May 13, 2015, 04:04:16 am »
Hi Blaazen

I have installed the latest version 0.9.2.8,  but I am still getting the same problem, black background and white text is not displaying.
code snippet from unit ECCheckListBox;
line 320 forward
Code: [Select]
Canvas.Brush.Style:=bsClear;
  if not (odSelected in State)
    then Canvas.Font.Color:=GetColorResolvingDefault(Font.Color, clWindowText)
    else Canvas.Font.Color:=clHighlightText;           

Can anyone else confirm?

« Last Edit: May 13, 2015, 04:05:53 am by josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #28 on: May 13, 2015, 12:40:12 pm »
I tested, works well.

In both Linux+Qt and Wine I set:
Color:=clBlack;
Font.Color:=clWhite;

Are you able to do it with plain TListBox? (TECCheckListBox is TCustomListBox descendant.)
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Josh

  • Hero Member
  • *****
  • Posts: 1274
Re: [ANN] Eye-Candy Controls 0.9.2
« Reply #29 on: May 13, 2015, 01:16:43 pm »
Hi
Normal checklist box is fine, attached image and sample test app
Running win 7 64 with 32bit laz 1.3  fpc 2.71.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

 

TinyPortal © 2005-2018