Skip to content

Commit

Permalink
align bottom of sliders with the bottom of graph
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed Nov 29, 2024
1 parent 8a7d9f1 commit 58e2fae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@ pub fn create(editor_data: Data, editor_state: Arc<ViziaState>) -> Option<Box<dy
});
});
})
.size(Auto);
.size(Auto)
.class("param-group");
})
.class("parameters");
VStack::new(cx, |cx| {
Expand Down
5 changes: 3 additions & 2 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

.parameters {
top: 0px;
bottom: 4px;
/* the columns are the same width, but one needs to include spacing and the other doesn't */
child-left: 0px;
child-right: 9px;
Expand Down Expand Up @@ -67,7 +68,7 @@ param-slider .value-entry {
/* // This should align nicely with the right edge of the slider */
left: 269px;
right: 1s;
top: 9px;
top: 1s;
bottom: 9px;
/* background-color: #4e4e4e; */
}
Expand All @@ -87,7 +88,7 @@ param-slider .value-entry {

delay-graph {
top: 9px;
bottom: 14px;
bottom: 9px;
right: 9px;
border-width: 1px;
outline-width: 5px;
Expand Down

0 comments on commit 58e2fae

Please sign in to comment.