Jump to content

Alignment on the client side


picyka

Recommended Posts

21 minutes ago, picyka said:

a button and a label on the left side, and two buttons on the right side.

Hello,

Try this approach:

UniContainerPanel1 -> ClientEvents -> ExtEvents ->

function afterrender(sender, eOpts)
{
    sender.insert(2, {xtype: 'component', flex: 1});
}

 

  • Like 1
Link to comment
Share on other sites

3 minutes ago, Sherzod said:

Hello,

Try this approach:

UniContainerPanel1 -> ClientEvents -> ExtEvents ->

function afterrender(sender, eOpts)
{
    sender.insert(2, {xtype: 'component', flex: 1});
}

 

It seems so easy for you
hahahah
tks

  • Thanks 1
Link to comment
Share on other sites

1 hora atrás, estrify disse:

Ok, aqui está a mesma ideia que eu anexei antes, mas aplicada a este caso... Espero que isso ajude você...

Sugestão: se você estiver testando, aplique cores aos painéis do seu contêiner para ver os efeitos do redimensionamento.

Atenciosamente

 

TestCase (uma possibilidade 2).zip 3,62 kb · 0 downloads

I understand your idea, separate it into more containers, I will continue my studies, grateful.

Link to comment
Share on other sites

×
×
  • Create New...