Caption above GroupBox

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #59356
    Support
    Keymaster

      Sorry, such feature is not implemented.

      #59443
      Stephane Senecal
      Participant

        Is it possible to make a groupbox like that?

        Stephane Senecal
        CIS Group
        Delphi programmer since 2001

        #59446
        Support
        Keymaster

          It's not implemented at the moment, but I can make it soon if needed.

          #59453
          Stephane Senecal
          Participant

            I'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 2001

            #59486
            Support
            Keymaster

              How do you think this property may be named? )

              #59487
              Stephane Senecal
              Participant

                Could it be possible make a setting in the skin to use wide caption on groupboxes

                Stephane Senecal
                CIS Group
                Delphi programmer since 2001

                #59489
                Support
                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.

                  #59490
                  Stephane Senecal
                  Participant

                    Ok.

                    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 2001

                    #59496
                    Support
                    Keymaster

                      Caption 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, clFullWidthRight

                      Do you mean an aligning of caption content?

                      #59514
                      Stephane 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 2001

                        #59515
                        Support
                        Keymaster

                          I was thinking about the property like TsGroupBox.NewStyleCaption: boolean;

                          But, maybe global TsSkinManager.Options.NewStyleGroupBox property will be better.

                          Maybe others better ideas exist?

                          #59516
                          Stephane Senecal
                          Participant

                            The 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

                            #59517
                            Support
                            Keymaster

                              Maybe TsSkinManager.Options.GroupBoxStyle = (gsStandard, gsFullWidthCaption) ? ))

                              Because style of GroupBox client area will be changed too, not only caption.

                              #59518
                              Stephane Senecal
                              Participant

                                Is it just the name you don't like?

                                Is the enum property ok?

                                Stephane Senecal
                                CIS Group
                                Delphi programmer since 2001

                                #59519
                                Support
                                Keymaster

                                  Yes, it should be enum, you are right ))

                                  #59520
                                  Stephane Senecal
                                  Participant

                                    What 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 2001

                                    #59521
                                    Support
                                    Keymaster

                                      Do you mean gsCard? It's Ok, I think.

                                      #59522
                                      Stephane Senecal
                                      Participant

                                        Yes, I did mean gsCard (always use a prefix) 😉

                                        Stephane Senecal
                                        CIS Group
                                        Delphi programmer since 2001

                                        #59563
                                        Support
                                        Keymaster

                                          You can look it in the v14.25

                                          #59565
                                          Stephane Senecal
                                          Participant

                                            I looked at it. I think it's nice.

                                            Stephane Senecal
                                            CIS Group
                                            Delphi programmer since 2001

                                          Viewing 20 posts - 1 through 20 (of 20 total)
                                          • You must be logged in to reply to this topic.