mhmda Posted January 15, 2018 Share Posted January 15, 2018 Hello, When I set the url for the uniimage: img:=TUniImage.Create(self); img.Parent:=pnl; img.LayoutConfig.Margin:='0 4 0 4'; img.Url:='files/images/Desktop/docket/plus.png'; img.Width:=9; img.Height:=9; The Image dosn't displayed because the framework adds width=0 and height=0 why???? <img src="files/images/Desktop/docket/plus.png" width="0" height="0"> Why doesn't it set the url only without the width/height?? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 15, 2018 Share Posted January 15, 2018 Hello Mohammad, I couldn't reproduce this issue, for me works fine <img src="files/images/sort_asc.png" width="9" vspace="0" hspace="0" height="9"> Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 15, 2018 Share Posted January 15, 2018 Are you using "UniAlignmentClient" ? Can you make a simple testcase for this ? Quote Link to comment Share on other sites More sharing options...
Fateh Bouchair Posted May 22, 2018 Share Posted May 22, 2018 سلام محمد كيف عالجت هذه المشكلة من فظلك Quote Link to comment Share on other sites More sharing options...
mhmda Posted May 23, 2018 Author Share Posted May 23, 2018 I can't recall but I think you have to assign a name for the component. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.