Graphscad : The Graphic Nodal Editor for OpenScad
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in


 Enhanced nodes: text and val_to_text

Go down 

Messages : 45
Date d'inscription : 2017-01-30
Localisation : Newbury, Berkshire, England

Enhanced nodes: text and val_to_text Empty
PostSubject: Enhanced nodes: text and val_to_text   Enhanced nodes: text and val_to_text Icon_minitimeSun 5 Mar - 20:04

OpenSCAD allows horizontal and vertical alignment of text objects. The current node_text and node_val_to_text don't implement horizontal alignment and miss out the most important possible value, baseline, for vertical alignment.
So I have edited them to include these.
Options are:
valign: top, center, baseline, bottom. The default is now baseline.
halign: left, center, right. Default is 'left'

Note that a minor bug in GraphSCAD 1.0.7 makes it difficult to see values in the valign combo box as it is drawn under the halign one. The currently selected value is shown opposite the word "valign", so the value just above it is invisible.
Enhanced nodes: text and val_to_text
Improved versions of node_text and node_val_to_text
You don't have permission to download attachments.
(2 Kb) Downloaded 1 times
Back to top Go down
View user profile
Enhanced nodes: text and val_to_text
Back to top 
Page 1 of 1
 Similar topics
» How to return the focus to original frame after entering text in tinymce?

Permissions in this forum:You cannot reply to topics in this forum
Graphscad :: show your creations-
Jump to: