Created with create-gpui-app.
Important note: gpui
is still currently a part of Zed. It's unlikely it can be used in any sort of production application at this time.
- Ensure Rust is installed - Rustup
- Run your app with
cargo run
- Add radial gradient to gpui
- Add multi-stop gradients (see if linear_gradient can just take a vec of ColorStop?)
- BoxShadow can't have a blur radius of 0 - (Merged! - PR)
- We don't seem to render divs with no children
- No text centering makes things difficult
- Need to be able to rotate elements to reduce amount of svgs required
You can create an app without a titlebar by setting the titlebar
option to None
in the WindowOptions
struct.
/// Minimal Example
fn main() {
App::new().run(|cx: &mut AppContext| {
cx.open_window(
WindowOptions {
titlebar: None,
..Default::default()
},
|cx| {
cx.new_view(|_cx| SomeView {
text: "World".into(),
})
},
)
.unwrap();
cx.activate(true);
});
}