Slider for notes height (was [PATCH] Add user definible options to the print menu)

Salvador Cuñat salvador.cunat at gmail.com
Tue Mar 19 16:17:32 PDT 2013


On Tue, Mar 19, 2013 at 12:51:49PM -0700, Dirk Hohndel wrote:
> 
> That is again mildly confusing to use. As is the fact that the
> percentages only add up to 93 and that the range given for the third
> slider is wrong in the label.
> 
Hi Dirk.

print_options.notes_height = 100 - print_options.scale1 - print_options.scale2; \
	
This don't work because  notes + tanks + profile = 100

In print() we want to reach 2.0, but 0,15 + (100/92,5)*2 = 2,31

Then the printout get out of bounds, as happens actually (except on
default conditions that sums 92.

May be the divisor you wanted was 100/92.5 = 108.1 ?

The labels function works perfectly.

Regards

Salva



More information about the subsurface mailing list