Welcome, Guest. Please login or register.

Author Topic: MUI for dummies  (Read 5988 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline blubbe

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 268
    • Show all replies
    • http://somewhere.in-hell.com
Re: MUI for dummies
« on: August 24, 2003, 11:44:23 AM »
It could possibly be solved by fiddling wtih
MUIA_Weight, weight

I havent been able to get stringgadgets to have
fixed size myself.

But as has been said, it would help to see the code.

Edit..

Try a combination of "MUIA_Weight, weight" for the
string(s) and Put RectangleObjects before/and/or/after the stringobject.

For example, to align a gadget to the right
HGroup,
Child, RectangleObject, MUIA_Weight, 75, End,
Child, StringObject,...,MUIA_Weight, 25, End,
End,


i      i     i    i   i  i iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii i  i   i    i     i     i      i
 

Offline blubbe

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 268
    • Show all replies
    • http://somewhere.in-hell.com
Re: MUI for dummies
« Reply #1 on: August 24, 2003, 03:18:58 PM »
Ok, I have a problem getting images to work:

------------------
Child, ImageObject, MUIA_Background,      MUII_BACKGROUND,
MUIA_Image_Spec, '5:neversleep.gif', End,
-------------------

I get an empty gadget. Snoopdos reports nothing funny. (file is found and loaded with datatypes)
I have snipped away some other code  like a few gadgets (they work).

Should there be additional tags or something ?
i      i     i    i   i  i iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii i  i   i    i     i     i      i
 

Offline blubbe

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 268
    • Show all replies
    • http://somewhere.in-hell.com
Re: MUI for dummies
« Reply #2 on: August 30, 2003, 04:34:23 AM »
I found this was an old question threw some googleing.. The solution was said to be use
MUIA_FixWidth, MUIA_FixHeight (Because
ImageObject has some boopsi limitations
(compared to MUI) and has to be told the size of the image at creation time.
But.. still no luck, still getting an empty gadget.
i      i     i    i   i  i iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii i  i   i    i     i     i      i