t4ufiq Posted January 7, 2019 Share Posted January 7, 2019 on IDE it look all work like what i want, UniImage show everything. UniImage property: center, proportional, and stretch set to true but when we run it and open on browser. UniImane fit the image height only, the image width is cropped how to make it appeared fit and proportionally like shown on IDE ?? Link to comment Share on other sites More sharing options...
Sherzod Posted January 8, 2019 Share Posted January 8, 2019 Hello, Which build, browser are you using? Can you make a simple testcase for this? Link to comment Share on other sites More sharing options...
t4ufiq Posted January 8, 2019 Author Share Posted January 8, 2019 1 hour ago, Sherzod said: Hello, Which build, browser are you using? Can you make a simple testcase for this? im using latest build 1.70.0.1485 simple test here : http://45.127.134.106:8077/ additional code only on each checkbox Quote procedure TMainForm.UniCheckBox1Change(Sender: TObject); begin if UniCheckBox1.Checked then UniImage1.Center:=true else UniImage1.Center:=false; end; procedure TMainForm.UniCheckBox2Change(Sender: TObject); begin if UniCheckBox2.Checked then UniImage1.Proportional:=true else UniImage1.Proportional:=false; end; procedure TMainForm.UniCheckBox3Change(Sender: TObject); begin if UniCheckBox3.Checked then UniImage1.Stretch:=true else UniImage1.Stretch:=false; end; Link to comment Share on other sites More sharing options...
Sherzod Posted January 8, 2019 Share Posted January 8, 2019 2 hours ago, t4ufiq said: additional code only on each checkbox Quote So, do you mean in runtime? Link to comment Share on other sites More sharing options...
t4ufiq Posted January 8, 2019 Author Share Posted January 8, 2019 runtime or not, never show result like this: Link to comment Share on other sites More sharing options...
t4ufiq Posted January 8, 2019 Author Share Posted January 8, 2019 runtime or not, never show result like this: Link to comment Share on other sites More sharing options...
Sherzod Posted January 8, 2019 Share Posted January 8, 2019 14 minutes ago, t4ufiq said: runtime or not, never show result like this: Sorry, what do you think it should look like ?! Link to comment Share on other sites More sharing options...
Sherzod Posted January 8, 2019 Share Posted January 8, 2019 If Center=True, Proportional=True then on your screen everything is fine I think Link to comment Share on other sites More sharing options...
t4ufiq Posted January 9, 2019 Author Share Posted January 9, 2019 i found what cause it. its parent container set to "uniAlignmentClient" when i set set to "uniAlignmentServer" , it show stretched very well maybe you can reproduce the case .. thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now