Graphscad : The Graphic Nodal Editor for OpenScad
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 

 Enhanced nodes: text and val_to_text

Go down 

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

PostSubject: Enhanced nodes: text and val_to_text   Sun 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.
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
» Need to do a simple Left Click in a text box
» Command for auto populated text verification.
» How to return the focus to original frame after entering text in tinymce?
» count of text
» How to select a text in iFrame and bold it?

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