Forum Replies Created
-
AuthorPosts
-
Oh I see now. Sorry.
To add a little bit more information, that part of code is different between TsButton and TsBitBtn which is weird.
The focus rectangle is displayed in the TsBitBtn.
Stephane Senecal
CIS Group
Delphi programmer since 2001TsSkinManager.ButtonsOptions.ShowFocusRect is set to what?
Stephane Senecal
CIS Group
Delphi programmer since 2001Yes, I did mean gsCard (always use a prefix) 😉
Stephane Senecal
CIS Group
Delphi programmer since 2001What do you think about “Card” style. It is quite used in the web domain and it loosely look similar.
Stephane Senecal
CIS Group
Delphi programmer since 2001Is it just the name you don't like?
Is the enum property ok?
Stephane Senecal
CIS Group
Delphi programmer since 2001The problem I see with NewStyleCaption is what will be the name of the style after NewStyle? NewNewStyle?
Maybe TsSkinManager.Options.GroupBoxCaptionStyle = (gsStandard, gsFullWidth)
What do you think?
Stephane Senecal
CIS Group
Delphi programmer since 2001'Support' wrote:Caption have not only full width there, but all component have another style in this case…
Are you thinking of making a global setting that would change all groupboxes to the new style?
If so, I think it would be nice. If not, then I understand what you mean.
'Support' wrote:Do you mean an aligning of caption content?
I only suggested that option in case you preferred reusing an existing property.
Stephane Senecal
CIS Group
Delphi programmer since 2001Ok.
For the property name, it could be something like FullWidthCaption.
Or I noticed the property CaptionLayout. It could be extended with values like clFullWidthLeft, clFullWidthCenter, clFullWidthRight if you prefer.
Stephane Senecal
CIS Group
Delphi programmer since 2001Could it be possible make a setting in the skin to use wide caption on groupboxes
Stephane Senecal
CIS Group
Delphi programmer since 2001I don't know if you hook into the theme manager of windows, but if so, there is an element for that item.
It is the the Part MENU_POPUPSUBMENU.
Hope it helps.
Stephane Senecal
CIS Group
Delphi programmer since 2001I'm looking for ways to make GroupBox look more modern.
I think my second suggestion could make a great addition to AlphaSkins.
Stephane Senecal
CIS Group
Delphi programmer since 2001Is it possible to make a groupbox like that?
Stephane Senecal
CIS Group
Delphi programmer since 2001I don't know if “Support” was confused between the look of the glyph when the button is Enabled = False and the Grayed property of the BitBtn, but I was. So I though I could add my input.
I too find it weird that the discoloration of an icon that has no color changes of color.
It is like if the icon was blended with the button color.
Stephane Senecal
CIS Group
Delphi programmer since 2001It's the anti-virus (Windows Defender) that prevent execution.
From what i have researched, it seems like the anti-virus thinks it's a ransomware.
I hope it's a false positive.
Stephane Senecal
CIS Group
Delphi programmer since 2001I've tried in a VM with Windows 10 too and it works there. weird.
You can stop investigate since it's just a sample project.
Stephane Senecal
CIS Group
Delphi programmer since 2001Windows 10.0.17763.292
Stephane Senecal
CIS Group
Delphi programmer since 2001It crashes at startup with “Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item.”
Stephane Senecal
CIS Group
Delphi programmer since 2001From what I tried, it seemed to output better result with DrawString from GDI+.
GDI+ does not use the same algorithm than GDI. Another weird thing from Microsoft.
More over, there is also DirectWrite / Direct2D, but those function use the GPU. I think it would be a little bit overkill.
Stephane Senecal
CIS Group
Delphi programmer since 2001Wow I didn't know that. That's nice!
Stephane Senecal
CIS Group
Delphi programmer since 2001Maybe TsLabelFX could use GDI+ DrawString instead of GDI DrawText?
Stephane Senecal
CIS Group
Delphi programmer since 2001 -
AuthorPosts