Closed jimfoltz closed 10 years ago
Been a while since I used SKUI so thought this was the perfect excuse. I tried out your code and have attached a screenshot. Please notice a small pixel under the "A" of "Add". This is the tip of the "L" in Layer. Your button is wrapping the text into two lines because it doesn't fit on one. Try making the button longer. That should fix it. Here is an example
w = SKUI::Window.new b = SKUI::Button.new( 'Add Layer' ) { puts 'World! :)' } b.position( 10, 5 ) b.width = 200 w.add_control( b ) w.show
On 9 March 2014 16:47, Jim Foltz notifications@github.com wrote:
If I create a Button..
btnAdd = SKUI::Button.new('Add Layer') { |control|
Only the word "Add" appears as the button text.
Reply to this email directly or view it on GitHubhttps://github.com/thomthom/SKUI/issues/88 .
Yep, that was it. :stuck_out_tongue_winking_eye:
Thanks.
phew!
If I create a Button..
Only the word "Add" appears as the button text.