{"id":18370727,"url":"https://github.com/miho/scaledfx","last_synced_at":"2026-03-07T02:09:01.006Z","repository":{"id":57744263,"uuid":"69071197","full_name":"miho/ScaledFX","owner":"miho","description":"JavaFX pane for scaling arbitrary content nodes (used in VWorkflows)","archived":false,"fork":false,"pushed_at":"2020-06-24T20:45:00.000Z","size":155,"stargazers_count":90,"open_issues_count":0,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-22T04:51:18.275Z","etag":null,"topics":["java","javafx"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-24T01:07:00.000Z","updated_at":"2024-12-30T11:49:37.000Z","dependencies_parsed_at":"2022-08-30T10:51:35.527Z","dependency_job_id":null,"html_url":"https://github.com/miho/ScaledFX","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miho%2FScaledFX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miho%2FScaledFX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miho%2FScaledFX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miho%2FScaledFX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miho","download_url":"https://codeload.github.com/miho/ScaledFX/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247539066,"owners_count":20955233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","javafx"],"created_at":"2024-11-05T23:40:02.195Z","updated_at":"2026-03-07T02:08:55.972Z","avatar_url":"https://github.com/miho.png","language":"Java","readme":"# ScaledFX\n[![Build Status](https://travis-ci.org/miho/ScaledFX.svg?branch=master)](https://travis-ci.org/miho/ScaledFX) [ ![Download](https://api.bintray.com/packages/miho/ScaledFX/ScaledFX/images/download.svg) ](https://bintray.com/miho/ScaledFX/ScaledFX/_latestVersion) [![Javadocs](https://www.javadoc.io/badge/eu.mihosoft.jfx.scaledfx/scaledfx.svg?color=blue)](https://www.javadoc.io/doc/eu.mihosoft.jfx.scaledfx/scaledfx)\n\n\nJavaFX pane for scaling arbitrary content nodes (used in Vworkflows) by applying scale transformations. The `ScalableContentPane` scales its content to always fit the container bounds.  \n\n![Sample 1](https://media.giphy.com/media/l3vR99nMoId6DEOeA/giphy.gif)\n\n![Sample 2](https://media.giphy.com/media/XvKr0mGNGtP8I/giphy.gif)\n\n**Sample Code:**\n\n```java\n\npublic class Main extends Application {\n    /**\n     * @param args the command line arguments\n     */\n    public static void main(String[] args) {\n        launch(args);\n    }\n\n    @Override\n    public void start(Stage primaryStage) throws Exception {\n        ScalableContentPane scp = \n            new ScalableContentPane(new Button(\"Scaled Button\"));\n        \n        primaryStage.setScene(new Scene(scp));\n        primaryStage.setTitle(\"Scalable Content Pane Demo\");\n        primaryStage.show();\n    }\n}\n```\n\n## Notes on JDK \u003e=11\n\nVersion `\u003e= 0.5` is compatible with JDK \u003e= 11. Just use the [JavaFx Gradle plugin](https://openjfx.io/openjfx-docs/#gradle) via\n\n```gradle\nplugins {\n  id 'org.openjfx.javafxplugin' version '0.0.7' // use latest version\n}\n```\n\nand declare the dependency to the `controls` module.\n\n```gradle\njavafx {\n    modules = [ 'javafx.controls' ]\n}\n```\n\n## Notes on JDK 8\n\nVersion `\u003c= 0.4` is compatible with JDK 8 (probably also 9 and 10)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiho%2Fscaledfx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiho%2Fscaledfx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiho%2Fscaledfx/lists"}