Jump to content

Unipanel.LayoutAttribs.Columns Çalışma Anında Değişmiyor.


pro_imaj

Recommended Posts

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.

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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', []);

 

Link to comment
Share on other sites

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?

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...