Skip to content

Commit

Permalink
properties panel cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Dec 15, 2024
1 parent d4c637f commit a972616
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions packages/eez-studio-ui/_stylesheets/project-editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -2543,11 +2543,15 @@

.form-check-label {
padding: 4px;
width: 100%;
overflow: hidden;
display: inline-flex;
span {
margin-left: 2px;
font-size: 95%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
//overflow: hidden;
//text-overflow: ellipsis;
}
}
}
Expand Down Expand Up @@ -2978,7 +2982,7 @@
0;

border-bottom: 1px solid @borderColor;
padding: 2px;
padding: 1px;

display: flex;
align-items: center;
Expand Down Expand Up @@ -3040,7 +3044,7 @@

.EezStudio_ArrayPropertyToolbar {
background-color: @panelHeaderColor;
padding: 4px 8px;
padding: 2px 8px;
border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/project-editor/flow/components/widgets/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ const UserWidgetPropertyGridUI = observer(
return null;
}
return (
<div style={{ marginTop: 5, marginBottom: 5 }}>
<div style={{ display: "flex", marginTop: 5, marginBottom: 5 }}>
<Button
color="primary"
size="small"
Expand Down
2 changes: 1 addition & 1 deletion packages/project-editor/lvgl/widgets/UserWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const LVGLUserWidgetWidgetPropertyGridUI = observer(
return null;
}
return (
<div style={{ marginTop: 5, marginBottom: 5 }}>
<div style={{ display: "flex", marginTop: 5, marginBottom: 5 }}>
<Button
color="primary"
size="small"
Expand Down

0 comments on commit a972616

Please sign in to comment.