- This topic has 6 replies, 2 voices, and was last updated 10 years, 3 months ago by HeDiBo.
-
AuthorPosts
-
July 16, 2014 at 1:32 pm #36213HeDiBoParticipant
Comparing the looks of a skinned TcxLabel to the native TsLabel component a number of differences appears.
In the skin Cappucino the TcxLabel looks better, because it's brighter than TsLabel
[attachment=6790:DevExprLabel1.jpg]
In the Moonlight skin the DevExpr label is hardly visible:
[attachment=6791:DevExprLabel2.jpg]
Maybe a different algorithm is needed for painting TcxLabels?
This is the test project: [attachment=6792:DevExpLabels.zip]
August 14, 2014 at 11:04 am #52219SupportKeymasterHello!
cxLabel uses this code for a color receiving:
Code:procedure TcxContainer.GetColorSettingsByPainter(out ABackground, ATextColor: TColor);
begin
ATextColor := clDefault;
ABackground := clDefault;
if ViewInfo.UseSkins then
begin
if not IsStyleAssigned(csvTextColor) then
ATextColor := ViewInfo.Painter.DefaultEditorTextColorEx(GetEditStateColorKind);
if not (ParentColor or IsStyleAssigned(csvColor)) then
ABackground := ViewInfo.Painter.DefaultEditorBackgroundColorEx(GetEditStateColorKind);
end;
end;I think, it's not right, I can't control it in the DefaultEditorTextColorEx function, because this function used in all DevExpress Editors also.
August 14, 2014 at 11:54 am #52221HeDiBoParticipant'Support' wrote:I think, it's not right, I can't control it in the DefaultEditorTextColorEx function, because this function used in all DevExpress Editors also.
I understand, it's problematic. Just use TsLabel I suppose. But in that case, shouldn't some of the skins have brighter TsLabel font colors? This is particularly true for Capuccino, DarkMetro, Matrix (even edit texts don't look bright enough), Nautilus (labels should be bright, not dark), Rhombus (again labels should be bright, not dark), Steam, Terminal4Bit (both labels and edits) and WOT (labels should be bright, not dark). Or can I do something about that myself?
I'm always using low brightness on my monitor, because if you stare at it all day your eyes get really tired from very bright colors. I think the alpha skins should also look good in lower brightness conditions. With the current color sets some texts are hardly readable.
Hope you had a nice vacation? Welcome back.
Vr gr ;-}
Dick
August 17, 2014 at 10:12 am #52286SupportKeymasterThank you.
Label and EditControls uses common function for a color receiving and I can't change that.
Using of other labels will be better, I think. And you can play with Brightness value in SkinManager.
August 17, 2014 at 10:31 am #52290HeDiBoParticipant'Support' wrote:Label and EditControls uses common function for a color receiving and I can't change that.
I'm not sure what you mean. In this picture:
[attachment=6862:LabelBrightness.jpg]
isn't the TsLabel color much dimmer than the TsEdit color above it?
August 17, 2014 at 12:24 pm #52294SupportKeymasterI wrote about cxLabel, this control has same font color as edit control.
August 17, 2014 at 12:49 pm #52295HeDiBoParticipant'Support' wrote:I wrote about cxLabel, this control has same font color as edit control.
I see, it was a misunderstanding.
I do not like the skinning of TsLabel for the dark skins mentioned above. It makes the text almost unreadable if your monitor is set to low brightness.
But I'll start a new topic on this subject.
-
AuthorPosts
- You must be logged in to reply to this topic.