Olaan Expert Licensed User Longtime User Jan 14, 2014 #1 Hi Erel, Refer to TestAnchor#1, Now I need to anchor 16 the buttons (15 Puzzles) on the panel1,but size of panel1 isn't size of main activity. I've tried it,but It's not form which I need to be. Attachments TestAnchor2.zip TestAnchor2.zip 7.3 KB · Views: 280
Hi Erel, Refer to TestAnchor#1, Now I need to anchor 16 the buttons (15 Puzzles) on the panel1,but size of panel1 isn't size of main activity. I've tried it,but It's not form which I need to be.
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2014 #2 1. The panel is not the button's parent. You should change this. 2. Anchors will not really help here. It will be easier to build such a layout programmatically. Upvote 0
1. The panel is not the button's parent. You should change this. 2. Anchors will not really help here. It will be easier to build such a layout programmatically.
Olaan Expert Licensed User Longtime User Jan 15, 2014 #3 Hi Erel, I've updated to be version 3.2. In my Idea,the 16 buttons should automatic relocation themselves(without coding in the designer script) followed size of panel1 which changed by coding in designer script . Attachments result.png 35.3 KB · Views: 429 NewTestAnchor2.zip NewTestAnchor2.zip 7.3 KB · Views: 296 Upvote 0
Hi Erel, I've updated to be version 3.2. In my Idea,the 16 buttons should automatic relocation themselves(without coding in the designer script) followed size of panel1 which changed by coding in designer script .
Erel B4X founder Staff member Licensed User Longtime User Jan 15, 2014 #4 No. There is no magic. Anchors just define constant distances. Nothing in this script will cause the buttons to spread. Upvote 0
No. There is no magic. Anchors just define constant distances. Nothing in this script will cause the buttons to spread.
Olaan Expert Licensed User Longtime User Jan 16, 2014 #5 Hi Erel, Please see this. compare with this which created by previously version The buttons's Restart and Close are created by anchored,but the 16 buttons aren't . I think that the anchored feature is fix for B4A programming,isn't it? (I think that the anchored feature is really useful,isn't it? because I still must coding in designer script) Last edited: Jan 16, 2014 Upvote 0
Hi Erel, Please see this. compare with this which created by previously version The buttons's Restart and Close are created by anchored,but the 16 buttons aren't . I think that the anchored feature is fix for B4A programming,isn't it? (I think that the anchored feature is really useful,isn't it? because I still must coding in designer script)
DonManfred Expert Licensed User Longtime User Jan 16, 2014 #6 Theera said: Please see this. compare with this Click to expand... They are both identical. On both i get 404-Error Attachments Aufnahme1.jpg 20.5 KB · Views: 374 Upvote 0
Theera said: Please see this. compare with this Click to expand... They are both identical. On both i get 404-Error
Erel B4X founder Staff member Licensed User Longtime User Jan 16, 2014 #7 I think that the anchored feature is fix for B4A programming,isn't it? (I think that the anchored feature is really useful,isn't it? because I still must coding in designer script) Click to expand... The anchor feature is not a fix. It is another tool in the set of tools that you can use to design your layout. It is also not a replacement for designer scripts. Upvote 0
I think that the anchored feature is fix for B4A programming,isn't it? (I think that the anchored feature is really useful,isn't it? because I still must coding in designer script) Click to expand... The anchor feature is not a fix. It is another tool in the set of tools that you can use to design your layout. It is also not a replacement for designer scripts.