MsgConversationViewItem[isIncoming="true"]
{
    layout:layout-incoming;
    pref-height:-1;
    pref-width:-1;

}

MsgConversationViewItem[isIncoming="false"]
{
    layout:layout-outgoing;
    pref-height:-1;
    pref-width:-1;

}

MsgConversationViewItem[isIncoming="true"]::msgconvwidget
{
  left:-var(hb-param-margin-gene-left);
  top:0.0un;
  right:6.75un;
  bottom:0.0un;
}

MsgConversationViewItem[isIncoming="false"]::msgconvwidget
{
  top:0.0un;
  right:var(hb-param-margin-gene-right);
  bottom:0.0un;
  left:-var(hb-param-margin-gene-middle-horizontal);
}

MsgConversationViewItem[isIncoming="false"]::msgStateIcon
{
  left:-var(hb-param-margin-gene-left);
  size-policy:fixed fixed;
  aspect-ratio:ignore;
  pref-height:var(hb-param-graphic-size-primary-small);
  pref-width:var(hb-param-graphic-size-primary-small);
}

