Deep Purple skin issues

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #46786
    Support
    Keymaster
      'Hamilton' wrote:
      1. In a DevExpress cxGrid, the selected row has white text on a white background.

      Here is updated file : http://www.alphaskins.com/sfiles/skins/deeppurple.asz

      Quote:
      2. With a TsBitBtn on a TsPanel, the buttons draw over the panel border. For other themes this happens if the buttons are in a DOWN state but for DeepPurple it happens to all buttons. This situation occurred for me because I'm using TsBitBtns on a panel to create a menu; it looks OK to have the selected button larger but having all the buttons draw over the border looks strange.

      Can you show a screenshot please?

      #46798
      Hamilton
      Participant

        Hi Serge,

        The updated theme fixes the grid selection.

        The attached image shows the button issue. Definitions for the panel and button are included below. I suspect the issue is caused by the skin sections I'm using but this same configuration works for the other 11 skins in the project.

        EDIT: I've attached a second screen shot that shows the same buttons with the WEB skin.

        object pnlSetup: TsPanel

        Left = 0

        Top = 325

        Width = 1008

        Height = 76

        Align = alTop

        BevelOuter = bvNone

        TabOrder = 2

        Visible = False

        SkinData.SkinSection = 'TOOLBAR'

        object btnDatabase: TsBitBtn

        Left = 360

        Top = 0

        Width = 60

        Height = 76

        Action = ActionSetupDatabase

        Align = alLeft

        Caption = 'Database'

        DoubleBuffered = True

        Layout = blGlyphTop

        ParentDoubleBuffered = False

        TabOrder = 4

        TabStop = False

        AnimatEvents = [aeMouseEnter, aeGlobalDef]

        SkinData.SkinSection = 'TOOLBUTTON'

        ImageIndex = 21

        Images = sAlphaImageListLarge

        end

        end

        #46738
        Support
        Keymaster
          #46850
          Hamilton
          Participant

            Hi Serge,

            The update doesn't affect the button size; the selection color seems to be a bit darker but I can't see any other change on the buttons.

            Regards,

            Hamilton

            #46858
            Support
            Keymaster

              Skin-engine can't affect to sizes of controls.

              I have changed this skin for a better painting of buttons background when parent SkinSection is 'TOOLBAR'

              #46880
              Hamilton
              Participant

                Hi Serge,

                As you say the buttons are not truly resized but that is the way it *appears*. You can perhaps see from the screen shots in my earlier post that a TsBitBtn drawn with the WEB skin does not block the border unless the button is in the down state whereas for DeepPurple all of the buttons cover the border. I won't be using this skin in my apps so I am happy to let this lie..

                Regards,

                Hamilton

                #46889
                CheshireCat
                Participant

                  Hi Hamilton,

                  please try the attached file this should work for you.

                  Regards

                  #46921
                  Hamilton
                  Participant

                    Hi CheshireCat thanks for trying but the problem remains. I can see that the borders have become more narrow in the modified skin but the buttons still block cover the border, as shown in the screen shot attached.

                    Regards,

                    Hamilton

                    #46930
                    Support
                    Keymaster

                      I think, I know a cause of the problem now,

                      Try the updated skin please : http://www.alphaskins.com/sfiles/skins/deeppurple.asz

                      #46980
                      Hamilton
                      Participant

                        That fixes it thank you, hope to see this updated skin in 7.55 🙂

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