mui height and width.
  • Butterfly
    Butterfly
    rebraist
    Posts: 96 from 2011/4/6
    From: Naples, Italy
    Hi!
    I have a situation like this

    hgroup
    button1
    vgroup
    button2
    button3
    end
    button4
    end

    i would like that the height of button1 should be the same of the sum of the heights of button2 and button3. if i can make a drawing something like this:
    o=button1
    :=vgroup of button2 and button3
    o=button4

    o:o

    i tried with fixed height but it gave me nothing.
    the entire group is inserted in a "main" vgroup with other buttons.
    just another question:
    can i insert two sequential vgroup? something like this
    vgroup

    end

    vgroup

    end

    THANK YOU!
    Mac Mini g4 1,5 mos 3.1 registered
    Powerbook g4 1,67 mos 3.1 unregistered
    Sam440 Os4.1.6
    Aros-Aros-Aros.
  • »15.05.11 - 21:33
    Profile
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    Quote:

    i would like that the height of button1 should be the same of the sum of the heights of button2 and button3

    Text buttons are normally sized vertically to the text height. To switch this off, set MUIA_Text_SetVMax to FALSE. Then it will have the same height as vgroup containing button2 and button3.
  • »16.05.11 - 05:08
    Profile Visit Website
  • Butterfly
    Butterfly
    rebraist
    Posts: 96 from 2011/4/6
    From: Naples, Italy
    thank you! you're always precious!!
    Mac Mini g4 1,5 mos 3.1 registered
    Powerbook g4 1,67 mos 3.1 unregistered
    Sam440 Os4.1.6
    Aros-Aros-Aros.
  • »16.05.11 - 09:55
    Profile