70 lines
1021 B
Plaintext
70 lines
1021 B
Plaintext
import { Metrics, DarkPalette } from "theme.slint";
|
|
import { Box, Button, HorizontalSeparator, VerticalBox } from "widgets/components.slint";
|
|
|
|
component ToolBarItem inherits Button {
|
|
width: Metrics.size-lg;
|
|
height: Metrics.size-lg;
|
|
p-elevation: 0;
|
|
}
|
|
|
|
export component ToolBar inherits VerticalBox {
|
|
width: Metrics.size-xl;
|
|
p-alignment: start;
|
|
|
|
ToolBarItem {
|
|
p-text: "s";
|
|
}
|
|
|
|
ToolBarItem {
|
|
p-text: "m";
|
|
}
|
|
|
|
ToolBarItem {
|
|
p-text: "r";
|
|
}
|
|
|
|
ToolBarItem {
|
|
p-text: "s";
|
|
}
|
|
|
|
HorizontalSeparator { }
|
|
|
|
ToolBarItem {
|
|
p-text: "b";
|
|
}
|
|
|
|
ToolBarItem {
|
|
p-text: "o";
|
|
}
|
|
|
|
ToolBarItem {
|
|
p-text: "f";
|
|
}
|
|
|
|
ToolBarItem {
|
|
p-text: "r";
|
|
}
|
|
|
|
ToolBarItem {
|
|
p-text: "l";
|
|
}
|
|
|
|
ToolBarItem {
|
|
p-text: "a";
|
|
}
|
|
|
|
HorizontalSeparator { }
|
|
|
|
ToolBarItem {
|
|
p-text: "t";
|
|
}
|
|
|
|
ToolBarItem {
|
|
p-text: "t";
|
|
}
|
|
|
|
ToolBarItem {
|
|
p-text: "m";
|
|
}
|
|
}
|