Button vsize
Author: roger.wallin@abilita.fi (rogerw)
Hi, In the Uniface blog-examples (Modernizing Uniface 9.7) a button is usually set to vsize=85. Lets say CommandButton=ucmdbutton(representation=Uniface;cursor=uhand;frametype=Flat;framewidth=1;framecolor=black;font=IDFButtonText; labelfont=IDFButtonText;vsize=85;autolabel=F;position=center;valign=center) In a 9.7 migrated application, using CommandButton in the forms, some buttons are smaller than others, some probably using vsize 85% and some 100% although in all forms the buttons are default defined as “Widget properties -> Vertical Button Size – Percentage = 100%”. In the form one can decrease the percent and then again up to 100%, and then the button uses 100% in all cases. Setting ini-file vsize=100 also makes the button use 100%. As the vsize is set to 85% in ini-file, does anyone know when the button uses 85% vs 100% ? Regards RogerW. PS. Moved from Uniface10 forum.
Regards, Theo