muratboy31 Posted September 18, 2013 Share Posted September 18, 2013 Label sayfada ortalansın istiyorum ama olmuyor yanlış olan nedir acaba ? tbl_windowsize = Window.GetSize(Application.GetWndHandle()); tbl_labsize = Label.GetSize("Label12"); x = (tbl_windowsize.Width/2) -(tbl_labsize.Width/2) y = (tbl_windowsize.Height/2)-(tbl_labsize.Height/2) Label.SetPos("Label12", x, y); Teşekürler Quote Link to comment Share on other sites More sharing options...
KintaRo Posted September 18, 2013 Share Posted September 18, 2013 şimdi denedim kod çalışıyor, kodu Page On Show evresinde denedim. Ayrıca kodlardan sonra: Page.Redraw() Application.SetRedraw(true) kodlarını deneyebilirsiniz. Quote Link to comment Share on other sites More sharing options...
muratboy31 Posted September 18, 2013 Author Share Posted September 18, 2013 (edited) hem dikey hemde yatay ortalama yaptığı için görmüyormuşum... teşekürler Edited September 18, 2013 by muratboy31 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.
Note: Your post will require moderator approval before it will be visible.