rog1n Posted March 9, 2020 Share Posted March 9, 2020 Hello, I am trying align vertically the edit_box with the image_button but I cannot , What I doing wrong? layer_config:dialog{label="Title"; spacer; : boxed_column{ label = "Test"; : row{ alignment = right; fixed_width = true; : edit_box { label = "test"; } : image_button {alignment = centered; height = 1.5;aspect_ratio = 1;fixed_width = true;fixed_height = true;color = 2; } } : row{ alignment = right; fixed_width = true; : edit_box { label = "new"; } : image_button {alignment = centered; height = 1.5;aspect_ratio = 1;fixed_width = true;fixed_height = true;color = 1; } } : row{ alignment = right; fixed_width = true; : edit_box { label = "new test"; } : image_button {alignment = centered; height = 1.5;aspect_ratio = 1;fixed_width = true;fixed_height = true;color = 5; } } } ok_cancel; } Quote Link to comment Share on other sites More sharing options...
rlx Posted March 9, 2020 Share Posted March 9, 2020 layer_cfg2 : dialog {label="Title"; spacer; : boxed_row { : column {:text{label="test";}:text{label="new";}:text{label="new test";}} : column{ : row {: edit_box {vertical_margin=none;key="eb1";} : image_button {height=1.5;aspect_ratio=1;fixed_width=true;fixed_height=true;color=2;key="ib1";}} : row {: edit_box {vertical_margin=none;key="eb2";} : image_button {height=1.5;aspect_ratio=1;fixed_width=true;fixed_height=true;color=1;key="ib2";}} : row {: edit_box {vertical_margin=none;key="eb3";} : image_button {height=1.5;aspect_ratio=1;fixed_width=true;fixed_height=true;color=5;key="ib3";}} } } ok_cancel; } 1 Quote Link to comment Share on other sites More sharing options...
rog1n Posted March 9, 2020 Author Share Posted March 9, 2020 Thank you rlx! 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.