Comments (2)
audulus/vger-rs#17 should fix this.
from floem.
Looks like this was never completely integrated with lapce/vger or something has broken since then. Clip no longer clips at all with border_radius
minimal example
use floem::{
view::View,
views::{clip, empty, Decorators},
};
fn app_view() -> impl View {
clip(empty().style(|s| {
s.background(floem::peniko::Color::rgba8(255, 0, 0, 150))
.margin(10)
.height(30)
.width(20)
}))
.style(|s| s.border_radius(4))
}
fn main() {
floem::launch(app_view);
}
from floem.
Related Issues (20)
- floem found no Unfilled circle HOT 6
- Feature wish: Subpixel hinting / anti-aliasing in font rendering? HOT 2
- support non-Latin letters
- [Editor] empty lines are skipped when navigating with keyboard HOT 3
- [Editor] cursor always blinks even when not in focus
- [Editor] Can't request_focus
- [Editor] ignores `style` function HOT 2
- [Editor] The Caret changes width depending if it's on a new line or has text
- [Editor] Moving focus out of the editor with keyboard alone
- [Editor] Event functions are not called on the editor HOT 2
- Editor selection no longer shows selection on empty lines
- Editor rwsignal HOT 1
- Border radius is ignored when border is set individually HOT 2
- Global shortcuts on the main view does not work for Linux platform
- Tooltips not hiding automatically on some cases
- Left sidebar layout example is missing the last element HOT 1
- VirtualList: multiple items are selected at the same time when inserting new elements
- Counter example doesn't compile HOT 1
- KeyUp event not triggered HOT 2
- App crashes when quitting while a tooltip is still visible HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floem.