- This topic has 20 replies, 2 voices, and was last updated 5 years, 10 months ago by
Stephane Senecal.
-
AuthorPosts
-
April 5, 2019 at 2:22 pm #38223
Stephane Senecal
Participantis it possible to have the caption above a GroupBox like in the image?
[attachment=9245:GroupBox.png]
Stephane Senecal
CIS Group
Delphi programmer since 2001April 10, 2019 at 12:12 pm #59356Support
KeymasterSorry, such feature is not implemented.
May 10, 2019 at 8:00 pm #59443Stephane Senecal
ParticipantIs it possible to make a groupbox like that?
Stephane Senecal
CIS Group
Delphi programmer since 2001May 11, 2019 at 7:12 am #59446Support
KeymasterIt's not implemented at the moment, but I can make it soon if needed.
May 13, 2019 at 11:59 am #59453Stephane Senecal
ParticipantI'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 2001May 23, 2019 at 3:08 pm #59486Support
KeymasterHow do you think this property may be named? )
May 23, 2019 at 6:36 pm #59487Stephane Senecal
ParticipantCould it be possible make a setting in the skin to use wide caption on groupboxes
Stephane Senecal
CIS Group
Delphi programmer since 2001May 23, 2019 at 7:08 pm #59489Support
Keymaster'Stephane wrote:Could it be possible make a setting in the skin to use wide caption on groupboxes
It's much more difficult to make an option in the skin, a skin editor should be changed for that.
Otherwise, property in the component may be added in the nearest release already.
May 23, 2019 at 7:24 pm #59490Stephane Senecal
ParticipantOk.
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 2001May 25, 2019 at 3:15 pm #59496Support
KeymasterCaption have not only full width there, but all component have another style in this case…
Quote:Or I noticed the property CaptionLayout. It could be extended with values like clFullWidthLeft, clFullWidthCenter, clFullWidthRightDo you mean an aligning of caption content?
May 27, 2019 at 12:55 pm #59514Stephane Senecal
Participant'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 2001May 27, 2019 at 1:02 pm #59515Support
KeymasterI was thinking about the property like TsGroupBox.NewStyleCaption: boolean;
But, maybe global TsSkinManager.Options.NewStyleGroupBox property will be better.
Maybe others better ideas exist?
May 27, 2019 at 2:44 pm #59516Stephane Senecal
ParticipantThe 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 2001May 27, 2019 at 3:02 pm #59517Support
KeymasterMaybe TsSkinManager.Options.GroupBoxStyle = (gsStandard, gsFullWidthCaption) ? ))
Because style of GroupBox client area will be changed too, not only caption.
May 27, 2019 at 4:02 pm #59518Stephane Senecal
ParticipantIs it just the name you don't like?
Is the enum property ok?
Stephane Senecal
CIS Group
Delphi programmer since 2001May 27, 2019 at 4:23 pm #59519Support
KeymasterYes, it should be enum, you are right ))
May 27, 2019 at 4:57 pm #59520Stephane Senecal
ParticipantWhat 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 2001May 27, 2019 at 6:41 pm #59521Support
KeymasterDo you mean gsCard? It's Ok, I think.
May 27, 2019 at 7:02 pm #59522Stephane Senecal
ParticipantYes, I did mean gsCard (always use a prefix) 😉
Stephane Senecal
CIS Group
Delphi programmer since 2001May 31, 2019 at 12:13 pm #59563Support
KeymasterYou can look it in the v14.25
-
AuthorPosts
- You must be logged in to reply to this topic.