1
0
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:
Emil Ernerfeldt
2020-05-30 18:22:33 +02:00
parent 2f4a3a1273
commit bea7e3a52e
5 changed files with 14 additions and 8 deletions

View File

@@ -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]

View File

@@ -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)