pro_imaj Posted September 11, 2019 Share Posted September 11, 2019 Merhaba, Geliştirme anında Panelin LayoutAttribs.Columns alanını istediğim gibi değiştirebiliyorum ve çalışıyor. Çalışma anında (Runtime) değiştirdiğimde hata vermemesine rağmen geliştirme anındaki gibi davranmaya devam ediyor sanırım bu bir bug. Unipanel.LayoutAttribs.Columns := 9; Yardımlarınız rica ederim. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 11, 2019 Share Posted September 11, 2019 14 minutes ago, pro_imaj said: Geliştirme anında Panelin LayoutAttribs.Columns alanını istediğim gibi değiştirebiliyorum ve çalışıyor. Çalışma anında (Runtime) değiştirdiğimde hata vermemesine rağmen geliştirme anındaki gibi davranmaya devam ediyor sanırım bu bir bug. Unipanel.LayoutAttribs.Columns := 9; Yardımlarınız rica ederim. Merhaba, This post may help you: http://forums.unigui.com/index.php?/topic/12633-changing-amount-of-columns-in-table-layout-at-runtime/&do=findComment&comment=67370 Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted September 11, 2019 Author Share Posted September 11, 2019 Hi, When downloaded and compiled in the example you submitted, still observed it. The amount does not go to the bottom line, although make 3! // doesn't change amount of columns grid_items.LayoutAttribs.Columns := 3; // suggested by forum: grid_items.JSInterface.JSCode(#1'.setConfig({columns:3});'); grid_items.JSInterface.JSCall('updateLayout', []); Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 11, 2019 Share Posted September 11, 2019 ... grid_items.LayoutAttribs.Columns := 3; // suggested by forum: grid_items.JSInterface.JSAssign('layout.columns', [grid_items.LayoutAttribs.Columns]); grid_items.JSInterface.JSCall('updateLayout', []); ... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 11, 2019 Share Posted September 11, 2019 2 hours ago, pro_imaj said: The amount does not go to the bottom line, although make 3! 2 hours ago, Sherzod said: grid_items.LayoutAttribs.Columns := 3; // suggested by forum: grid_items.JSInterface.JSAssign('layout.columns', [grid_items.LayoutAttribs.Columns]); grid_items.JSInterface.JSCall('updateLayout', []); Were you able to figure out? 1 Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted September 12, 2019 Author Share Posted September 12, 2019 @Sherzod yardımları sayesinde yukarıdaki gibi sorun çözüldü. Teşekkürler. 1 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.