{"id":19411141,"url":"https://github.com/fltk-rs/fltk-flex","last_synced_at":"2025-10-29T03:36:53.268Z","repository":{"id":57630700,"uuid":"387298097","full_name":"fltk-rs/fltk-flex","owner":"fltk-rs","description":"A flexbox widget for fltk-rs","archived":false,"fork":false,"pushed_at":"2021-09-24T00:37:23.000Z","size":13,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-06T22:05:34.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fltk-rs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-19T00:41:59.000Z","updated_at":"2024-09-14T10:53:49.000Z","dependencies_parsed_at":"2022-08-27T21:10:37.457Z","dependency_job_id":null,"html_url":"https://github.com/fltk-rs/fltk-flex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fltk-rs%2Ffltk-flex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fltk-rs%2Ffltk-flex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fltk-rs%2Ffltk-flex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fltk-rs%2Ffltk-flex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fltk-rs","download_url":"https://codeload.github.com/fltk-rs/fltk-flex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223912841,"owners_count":17224206,"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":[],"created_at":"2024-11-10T12:19:13.775Z","updated_at":"2025-10-29T03:36:48.233Z","avatar_url":"https://github.com/fltk-rs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fltk-flex\n\n# Note to current and future users:\nThe Flex widget has been added to the fltk crate, under the group module. This repo mostly now serves the purpose of providing examples of usage!\n\nA Rust port of [FL_Flex](https://github.com/osen/FL_Flex), which provides a flexbox widget for FLTK.\n\n## Usage\n```toml\n[dependencies]\nfltk = \"1.2\"\nfltk-flex = \"0.2\"\n```\n\n## Example\n```rust\nuse fltk::{prelude::*, *};\nuse fltk_flex::Flex;\n\nfn main() {\n    let a = app::App::default().with_scheme(app::Scheme::Gtk);\n    let mut win = window::Window::default().with_size(400, 300);\n    let mut flex = Flex::default().size_of_parent().column();\n    let _expanding = button::Button::default().with_label(\"Expanding\");\n    let mut normal = button::Button::default().with_label(\"Normal\");\n    flex.set_size(\u0026mut normal, 30);\n    flex.end();\n    win.end();\n    win.make_resizable(true);\n    win.show();\n    a.run().unwrap();\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffltk-rs%2Ffltk-flex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffltk-rs%2Ffltk-flex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffltk-rs%2Ffltk-flex/lists"}