Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8109200

CSS overwrites user defined values

    Details

      Description

      SDK build 283 and up
      Nodes which are part of CSS styled component (let say default Caspian theme) get user defined values of properties overwritten by CSS template values.

      In this example size and type of font is completely ignored
      var scene=Scene {
              width: 500
              height: 500
      content: [
                              Group {
                                      content: [
                                              HBox
                                              {

                                                  content: [Button {
                                                          textAlignment: TextAlignment.CENTER
                                                          text: "AAAAAAA"
                                                          font: Font.font("Verdana",38)
                                                          cache: true
                                                          }]

                                               } ]
                                               }
                      ]

      }

      Stage {
          title: "Application title"
          scene:scene;
      };


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rbair Richard Bair
                Reporter:
                lwaldmannjfx Lukas Waldmann (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: