Search…

X3 Photo Gallery Support Forums

Search…
 
gadgetologist
Experienced
Topic Author
Posts: 123
Joined: 06 May 2009, 18:48

Menu Button Format

28 Nov 2009, 15:49

Looked and can't find the answer, sorry. I set the vertical margin for the menu at 100 and I actually want the text there. But the format must be set to align centered somewhere or some other such thing. Anyone know how to set this to left bottom justified?

(been a long time since I visited... happy ThanksGiving)

Thanks, G
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

30 Nov 2009, 01:11

I think the text entry for the "main menu" is positioned "center" by code in the Flash document. This is because its supposed to be a button, and text of a button is usually centered in the button.
 
gadgetologist
Experienced
Topic Author
Posts: 123
Joined: 06 May 2009, 18:48

30 Nov 2009, 03:31

The problem is if I want the text for the "Gallery Menu" to show at 100, I have to set the margin for twice that (200) because it is centered. But I can't set it any lower, because 200 is the maximum number allowed to put in "vertical margin". Is this correct? Am I missing something or is there a workaround?

Thanks.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

30 Nov 2009, 05:30

Sorry "show at 100", you mean show at 100px vertically from the top? I thought we were speaking of horizontal alignment for the text. Of course you can set vertical_margin lower than 200 ... I think I am not understanding you correctly here ...
 
gadgetologist
Experienced
Topic Author
Posts: 123
Joined: 06 May 2009, 18:48

30 Nov 2009, 10:27

Yes, that is correct. That is why I repeated it. I said it in the 1st and second version. "Vertical Margin" I think the word centered may make one orient towards the other axis or something. But yes, I want the initial "Gallery Menu" text to show at 100. I set the "vertical margin" for 100 and the text goes to 50 but I can see I get the 100px as the margin, the region is active when the mouse pointer enters the area.

I hope this clears it up... not so muddy... centered vertically.
----------------------------
Edited...

OUCH!! well, yes and no. The problem is in the "menubutton_height", not the vertical margin. Sorry I got them confused even after checking a couple of times. It seems the text is centered and the max height is 200. I just want the "gallery menu" text down below the logo.

Thanks, G
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

08 Dec 2009, 00:33

sorry for late repy - although I am still not 100% in the loop here, I can tell you that you can increase the max height limit:

Open the file "imagevue/include/theme.xml", and find
Code
<menubutton_height type="integer" description="Sets the initial height of the menubutton when the menu is collapsed" range="0,200">50</menubutton_height>
Increase the value in the "range"
 
User avatar
swamphox
Experienced
Posts: 136
Joined: 29 Nov 2007, 07:05

Re: Menu Button Format

21 Nov 2010, 00:17

What reason if any, would prevent me from changing the value. I changed the value in the range but theamount still won't go above 200. Any reason?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Menu Button Format

22 Nov 2010, 02:26

swamphox wrote:What reason if any, would prevent me from changing the value. I changed the value in the range but theamount still won't go above 200. Any reason?
Basically, we create limits to prevent layout getting our of control. Also, it seems you are editing XML files directly? This should be avoided for the sake of easier updated, but suit yourself. You can force a value higher than 200 by changing the RANGE attribute. For example:
Code
<menubutton_height type="integer" description="Sets the initial height of the menubutton when the menu is collapsed" range="0,300">300</menubutton_height>
As you can see, I set the value to 300, but also had to increase the "range" attribute to 300.