Window Heigth not working why ?

Discuss GUI programming with the RapaGUI plugin here
Post Reply
plouf
Posts: 122
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Window Heigth not working why ?

Post by plouf »

Can anyone guess why the following xml do NOT open a properly size height window (hollywood 8)

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<application id="App">
	 <window id="mainwindow" title="keypad" width="1200" height="1200">
		<vgroup>
				<button id="1" tooltip="1">1</button> 
		</vgroup>
	 </window>
</application>
i have try with
moai.Set("mainwindow","height",1200)
says "Attribute "height" not recognized for this class!"

i have try TreeView example and treeview example properly changes size !!

bitRocky
Posts: 112
Joined: Fri Nov 14, 2014 6:01 pm

Re: Window Heigth not working why ?

Post by bitRocky »

Because Button is not vertically resizable.
You have to add a VSpace or Rectangle object before or/and after the button..

Post Reply