mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
[egui] prepare for 0.1.0 release
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
[package]
|
||||
name = "egui"
|
||||
version = "0.1.0"
|
||||
authors = ["Emil Ernerfeldt <emilernerfeldt@gmail.com>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||
description = "Simple, portable immediate mode GUI library for Rust"
|
||||
edition = "2018"
|
||||
homepage = "https://github.com/emilk/emigui/"
|
||||
license = "MIT OR Apache-2.0"
|
||||
readme = "../README.md"
|
||||
repository = "https://github.com/emilk/emigui"
|
||||
categories = ["gui", "graphics"]
|
||||
keywords = ["gui", "imgui", "immediate", "portable", "gamedev"]
|
||||
include = [ "**/*.rs", "Cargo.toml", "fonts/ProggyClean.ttf", "fonts/Comfortaa-Regular.ttf"]
|
||||
|
||||
[lib]
|
||||
|
||||
|
||||
@@ -203,8 +203,8 @@ impl<'open> Window<'open> {
|
||||
let content_rect = collapsing
|
||||
.add_contents(&mut frame.content_ui, |ui| {
|
||||
resize.show(ui, |ui| {
|
||||
// Add some spacing (item_spacing) between title and content:
|
||||
ui.allocate_space(Vec2::zero());
|
||||
// Add some spacing between title and content:
|
||||
ui.allocate_space(ui.style().item_spacing);
|
||||
|
||||
if let Some(scroll) = scroll {
|
||||
scroll.show(ui, add_contents)
|
||||
|
||||
Reference in New Issue
Block a user