Search the Community
Showing results for tags 'button'.
-
[request] a button for show list command in console
ahmad.karami posted a topic in Feedback for UNIGINE team
Hi unigine team, is it possible add a button for show list command in console windows for new release version? -
Hi all, I'm using Unigine 2.7.1. I've realized button background is not scaled when a custom height is set. This doesn't happen with button width. With the following code... <?xml version="1.0" encoding="utf-8"?> <ui version="1.0"> <vbox name="root_vbx" space_y="8"> <font size="45" face="fonts/opensans-regular.ttf" voffset="4"> <button width="644" height="83"> <text align="center" rich="1">BUTTON <font face="fonts/opensans-light.ttf">1</font></text> </button> <button width="644"> <text align="center" rich="1">BUTTON <font face="fonts/opensans-light.ttf">2</font></text> </button> <button width="644"> <text align="center" rich="1">BUTTON <font face="fonts/opensans-light.ttf">3</font></text> </button> <button width="644"> <text align="center" rich="1">BUTTON <font face="fonts/opensans-light.ttf">4</font></text> </button> </font> </vbox> </ui> I get this visual result: The space is taken into account, but the button image is not resized to fill this space. Regards.