Menu

#209 yad --form width and height doesn't work after another yad component

New
nobody
None
High
Defect
2014-03-26
2014-03-26
No

When i run this yad command:
$ yad --form --width=660 --height=500 --columns=3 --center --scroll --field 'Default':LBL '' --field '@gray-darker':CLR '#222222' --field '@gray-dark':CLR '#333333' --field '@gray':CLR '#555555' --field '@gray-light':CLR '#999999' --field '@gray-lighter':CLR '#eeeeee' --field '@brand-primary':CLR '#428bca' --field '@brand-success':CLR '#5cb85c' --field '@brand-info':CLR '#5bc0de'

i have this:
http://axgig.com/images/53287393114161079720.jpg

but if i put another yad before this inside a script file like this:

!/bin/bash

yad --entry --numeric --text="How many columns do you need?" --image='gnome-about-logo' --window-icon='gnome-about-logo' --center --entry-text="1" --width=300
yad --form --width=660 --height=500 --columns=3 --center --scroll --field 'Default':LBL '' --field '@gray-darker':CLR '#222222' --field '@gray-dark':CLR '#333333' --field '@gray':CLR '#555555' --field '@gray-light':CLR '#999999' --field '@gray-lighter':CLR '#eeeeee' --field '@brand-primary':CLR '#428bca' --field '@brand-success':CLR '#5cb85c' --field '@brand-info':CLR '#5bc0de'

it broke it becomes to:
http://axgig.com/images/43926884680311692878.jpg

Discussion


Log in to post a comment.