Dmytro Zlobenets
Dmytro Zlobenets

Reputation: 77

How to set width depends on height of Ext.panel.Panel?

I have a panel with some textfields. I don't set height but I need keep 16:9 ratio. Size needs to be change depends on height. But I cant find where I can set width.

Upvotes: 1

Views: 261

Answers (1)

Andrew
Andrew

Reputation: 479

You can do this in listeners. Example for your problem solution here: https://fiddle.sencha.com/#view/editor&fiddle/1kve

Upvotes: 1

Related Questions