Jump to content

DCL layout question


ziele_o2k

Recommended Posts

How to delete area marked as red rectangle?

but : button { width = 13; fixed_width = true; }
StdQuickOptionsDialog	: dialog	{	label = "Quick settings";
 : column {
	: row {alignment = centered;
		:	column {	alignment = left;
			: text { key = "A1";label = "Settings 1 question longer and";}
			: text { key = "A2";label = "Settings 2";}
			: text { key = "A3";label = "Settings 3";}
		}
		:	column	{	alignment = right;width= 25;
			: edit_box { key = "edit1";}
			: popup_list { key = "pop";}
			: edit_box { key = "edit2";}
		}
 	}
 	: spacer {}
 	: spacer {}
 	: row { alignment = centered; fixed_width = true;
		: but { key = "but3";label = "&Save"; }
		: but { key = "but1";label = "&Ok"; is_default = true; }
		: but { key = "but2";label = "&Cancel"; is_cancel = true; }

 	}
 	: errtile {}
}
}

20170625_0008.jpg

Link to comment
Share on other sites

I swapped the two columns order the text appears now on right but close to edit box ? DCL does some stuff that over rides have you a copy of the manual about creating DCL's it is under help may give some clues.

ScreenShot006.jpg

Link to comment
Share on other sites

I swapped the two columns order the text appears now on right but close to edit box ? DCL does some stuff that over rides have you a copy of the manual about creating DCL's it is under help may give some clues.

 

You only moved blank space.. that is not a solution..

Anyway, my problem is solved.

but : button { width = 13; fixed_width = true; }
StdQuickOptionsDialog	: dialog	{	label = "Quick settings";
 : column {
	: row {alignment = centered;width=30;
		:	column {	alignment = left; 
			: text { key = "A1";value = "Settings 1 question longer and";width=24;}
			: text { key = "A2";value = "Settings 2";}
			: text { key = "A3";value = "Settings 3";}
		}
		:	column	{	alignment = right;
			: edit_box { key = "edit1";width=15;}
			: popup_list { key = "pop";}
			: edit_box { key = "edit2";}
		}
 	}
 	:	spacer_1 {}
 	: row { alignment = centered; fixed_width = true;
		: but { key = "but3";label = "&Save"; }
		: but { key = "but1";label = "&Ok"; is_default = true; }
		: but { key = "but2";label = "&Cancel"; is_cancel = true; }
 	}
 	: errtile {}
}
}

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...