Mini Kabibi Habibi
layout swatchesPanel
{
interface:
swatchMRUVisible : true;
swatchSearchVisible : true;
constant:
zSwatchesTooltip : '$$$/PresetsPanel/Tooltips/Swatches=Swatches';
zSearchIcon : 'FilteringLayerSearch';
view TSwatchesPanel(
name : '$$/SwatchesPanel/Title=Swatches',
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 : @swatchSearchVisible,
value : true,
horizontal : align_fill)
{
row(horizontal: align_fill, child_vertical: align_center, spacing: 2)
{
TIconImageView(iconRootName : zSearchIcon);
TEditText (identifier: @swatchSearchText,
width : 20,
horizontal : align_fill,
maxChars : 250);
}
}
TOptional(
bind : @swatchMRUVisible,
value : true,
horizontal : align_fill)
{
TColorListView(
identifier : @swatchesMRU,
height : 18,
horizontal : align_fill);
}
}
TScroller(
horizontal : align_fill,
vertical : align_fill,
verticalScroll : true)
{
TColorListView(
identifier : @swatchesList,
horizontal : align_fill,
vertical : align_fill);
}
TPresetsPanelIconView(
identifier : @swatchesPanelIcons,
height : 25,
horizontal : align_fill);
}
}
}