fmeditor-slint/ui/tool_bar.slint

50 lines
812 B
Plaintext

import { Metrics, DarkPalette } from "theme.slint";
import { Button } from "std-widgets.slint";
import { HorizontalSeparator } from "widgets/separator.slint";
import { Box, VerticalBox } from "widgets/layout.slint";
component ToolBarItem inherits Box {
width: Metrics.size-lg;
height: Metrics.size-lg;
j-elevation: 2;
}
export component ToolBar inherits VerticalBox {
width: Metrics.size-xl;
j-alignment: start;
Button {
checkable: true;
}
ToolBarItem { }
ToolBarItem { }
ToolBarItem { }
ToolBarItem { }
HorizontalSeparator { }
ToolBarItem { }
ToolBarItem { }
ToolBarItem { }
ToolBarItem { }
ToolBarItem { }
ToolBarItem { }
HorizontalSeparator { }
ToolBarItem { }
ToolBarItem { }
ToolBarItem { }
}