auto size problem - Forum

Forum Navigation
You need to log in to create posts and topics.

auto size problem

Hi,

Whenever I use auto size for width and height of  my app, I should set everything in percentage unit else if I use pixel unit the app weight become shrink and deprecate.

But sometime i need use pixel.

Is there anyway for solving this problem?

Uploaded files:
  • You need to login to have access to uploads.

@asmat, just apply a CSS class like this one:

.myclass{
  width:85px!important;
  height:62px!important;
  top:0px!important;
  bottom:0px!important;
  left:0px!important;
  right:0px!important;
  margin:auto!important;
}

First two lines are to fix sizing and the rest for repositioning on center.
Sample attached.

asmat and Samuel Vanneste have reacted to this post.
asmatSamuel Vanneste