Ace3

Addons
7,682,110 Downloads Last Updated: Aug 12, 2019 Game Version: 8.2.0

Margins between GUI elements

#393 By  Kaliel

Created Jul 31, 2016 Updated Jul 31, 2016

Open
Assigned to  nevcairiel
New
Enhancment

Actual blocks ("normal", "half", "double") are without margins and their content is does not look good next to each other.

I made modifications, "AceGUI" when:
- Width of the content is equal to "width_multiplier" so 170
- The offset is equal to 16 (varible leftMargin) and is set as the value of the SetPoint
- usedwidth = framewidth + usedwidth + leftMargin

I also made a few cosmetic repairs positional value in order to align elements uniform.

It would be possible to add these changes into the library?

I attach a modified library AceGUI. All changed / added parts are marked with commentary "-- MSA".

Thank you
Kaliel

Kaliel   added the tags
New
Enhancment
  Jul 31, 2016
Kaliel  added an attachment  Jul 31, 2016

Attachment was deleted  

Jul 31, 2016

Please provide a patch/diff file so it can be reviewed properly. Full files are not all that helpful.

Jul 31, 2016

SVN patch uploaded.

Jul 31, 2016

It would be good add margin as a configuration value. For the entire configuration or for individual nodes.

Example:

...
args = {
	general = {
		name = "Options",
		type = "group",
		margin = 16,
		args = {
			sec1 = {
				name = "Info",
				type = "group",
				inline = true,
				...
Jul 31, 2016

The options table will not get settings like margins, its meant to be generic and unaware of such UI fine-tuning.

You should also be aware that we really do not like people shipping modified versions of the Ace3 libraries without changing the names of the libraries, because it would affect any and every addon using them when your addon is loaded. So please change that immediately.

Edited Jul 31, 2016

Jul 31, 2016

Thank you for reply. It was not necessary immediately to report my project!?
That's why I asked ... to put it right.


To post a comment, please login or register a new account.