Mini Kabibi Habibi
layout customShapesPanel
{
interface:
customShapeMRUVisible : true;
shapeSearchVisible : true;
constant:
zCustomShapeTooltip : '$$$/PresetsPanel/Tooltips/CustomShapes=CustomShapes';
zSearchIcon : 'FilteringLayerSearch';
view TCustomShapesPanel(
name : '$$/CustomShapesPanel/Title=CustomShapes',
height : 240,
width : 232,
margin : [0, -1, 0, -1])
{
column(
horizontal : align_fill,
vertical : align_fill,
spacing : -1)
{
column(
spacing : 8,
horizontal : align_fill,
margin : [ 8, 8, 8, 8 ])
{
TOptional(
bind : @shapeSearchVisible,
value : true,
horizontal : align_fill)
{
row(horizontal: align_fill, child_vertical: align_center, spacing: 2)
{
TIconImageView(iconRootName : zSearchIcon);
TEditText (identifier: @shapeSearchText,
width: 20,
horizontal : align_fill,
maxChars: 250);
}
}
TOptional(
bind : @customShapeMRUVisible,
value : true,
horizontal : align_fill)
{
TCustomShapeListView(
identifier : @customShapesMRU,
height : 18,
horizontal : align_fill);
}
}
TScroller(
horizontal : align_fill,
vertical : align_fill,
verticalScroll : true)
{
TCustomShapeListView(
identifier : @customShapesList,
horizontal : align_fill,
vertical : align_fill);
}
TPresetsPanelIconView(
identifier : @customShapesPanelIcons,
height : 25,
horizontal : align_fill);
}
}
}