Page Tab (bug first tab)

Discuss GUI programming with the MUI Royale plugin here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Page Tab (bug first tab)

Post by djrikki » Tue Jan 15, 2013 1:37 pm

Hello,

Found a bug in the xml code below, if I uncomment <scrollgroup> and <virtgroup> the title of the first page becomes 'Tab' when it should read 'Featured Products'.

Code: Select all

				<register>
				<!--	<scrollgroup fixheight="660">
						<virtgroup> -->
							<vgroup title="Featured Products">
								<hgroup>
									<image source="brush:427" id="featimage0"/>
									<vgroup>
										<text id="feattitle0" font="big">\33bAMC - Amiga Media Center - (1.22)</text>
										<floattext id="featdesc0" font="big" fixheight="90">AMC is the definitive multimedia solution for your Amiga.\n\nWith AMC you can watch live Web TV and Audio streams. Listen to your music collection, browse through your photos and galleries and so much more.</floattext>
										<hgroup>
											<button id="featdemo0">\33A[10] Download Demo</button>
											<button id="featbuy0">\33A[469] Buy</button>
											<button id="featweb0">\33A[421] ARES - Developer Website</button>
										</hgroup>
									</vgroup>
								</hgroup>
								<vspace height="10"/>
								<hgroup>
									<image source="brush:428" id="featimage1"/>
									<vgroup>
										<text id="feattitle1" font="big">\33bATimberwolf/FireFox Internet Browser (Release Candidate)</text>
										<floattext id="featdesc1" font="big" fixheight="90">Fast and fully featured internet browser for AmigaOS\n\nDownload the best internet browser there is for AmigaOS.  Timberwolf is a fully comprehensive and up to date browser for your Amiga.  Timberwolf is a direct power of the world's most popular browser technology, FireFox.</floattext>
										<hgroup>
											<button id="featdemo1">\33A[10] Free Download</button>
											<button id="featweb1">\33A[421] Friden Brothers - Develop Website</button>
										</hgroup>
									</vgroup>
								</hgroup>
								<vspace height="10"/>
								<hgroup>
									<image source="brush:429" id="featimage2"/>
									<vgroup>
										<text id="feattitle2" font="big">\33bHollywood Designer - (3.0)</text>
										<floattext id="featdesc2" font="big" fixheight="90">Create amazing slidershows and presentations in minutes.\n\nHollywood Designer is a multimedia application that allows anyone to build interactive slideshows and presentations quickly and ease with its great easy to use interface.  Combine graphics, sound, animations and bring interactivity to your presentations.</floattext>
										<hgroup>
											<button id="featweb2">\33A[421] Airsoft Softwair - Developer Website</button>
										</hgroup>
									</vgroup>
								</hgroup>
								<vspace height="10"/>
								<hgroup>
									<image source="brush:430" id="featimage3"/>
									<vgroup>
										<text id="feattitle3" font="big">\33bHollywood Designer - (3.0)</text>
										<floattext id="featdesc3" font="big" fixheight="90">Create amazing slidershows and presentations in minutes.\n\nHollywood Designer is a multimedia application that allows anyone to build interactive slideshows and presentations quickly and ease with its great easy to use interface.  Combine graphics, sound, animations and bring interactivity to your presentations.</floattext>
										<hgroup>
											<button id="featdemo3">\33A[10] Download Demo</button>
											<button id="featbuy3">\33A[469] Buy - Developer Website</button>
											<button id="featweb3">\33A[421] Entwickler X - Developer Website</button>
										</hgroup>
									</vgroup>
								</hgroup>
							</vgroup>
					<!-- 	</virtgroup>
					</scrollgroup> -->
</register>
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com

User avatar
airsoftsoftwair
Posts: 2509
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Page Tab (bug first tab)

Post by airsoftsoftwair » Tue Jan 15, 2013 6:29 pm

Could you make this XML code smaller? There are too many possibilities for things that could go wrong in this XML code. Thanks.

djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Page Tab (bug first tab)

Post by djrikki » Tue Jan 15, 2013 10:51 pm

Okay.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com

djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Page Tab (bug first tab)

Post by djrikki » Thu Jan 24, 2013 11:06 pm

Just an update, I will get around to doing this at some point soon.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com

djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Page Tab (bug first tab)

Post by djrikki » Tue Jan 29, 2013 8:28 pm

Okay I've stripped back the code, the XML interface for this window is now 600+ lines long, stripped back to 21 and still the page tab reads 'Tab'.

Code: Select all

<?xml version="1.0" encoding="iso-8859-1"?>
<application base="Jack">
	<window title="AmigaOS AppStore" muiid="APPS" id="APPS" notify="closerequest" sizegadget="true">
		<vgroup >
			<hgroup>
				<register>
					<scrollgroup> <!-- title="" is not accepted here -->
						<virtgroup title="this doesn't work">
							<vgroup title="neither does this">
								<button>temp</button>
								<button>temp</button>
								<button>temp</button>
								<button>temp</button>
							</vgroup>
					 	</virtgroup>
					</scrollgroup>
				</register>
			</hgroup>
		</vgroup>
	</window>
</application>
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com

djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Page Tab (bug first tab) - SOLVED

Post by djrikki » Tue Jan 29, 2013 8:31 pm

Seems it was an error on my part...I've re-arranged it like so:

Code: Select all

<?xml version="1.0" encoding="iso-8859-1"?>
<application base="Jack">
	<window title="AmigaOS AppStore" muiid="APPS" id="APPS" notify="closerequest" sizegadget="true">
		<vgroup >
			<hgroup>
				<register>
					<vgroup title="this works!">
					<scrollgroup> <!-- title="" is not accepted here -->
						<virtgroup title="this doesn't work">
								<button>temp</button>
								<button>temp</button>
								<button>temp</button>
								<button>temp</button>
					 	</virtgroup>
					</scrollgroup>
					</vgroup>
				</register>
			</hgroup>
		</vgroup>
	</window>
</application>
Now to put it all back together.
Last edited by djrikki on Tue Jan 29, 2013 8:34 pm, edited 1 time in total.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com

djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Page Tab (bug first tab)

Post by djrikki » Tue Jan 29, 2013 8:33 pm

Success!
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com

Post Reply