Author: fendrin
Date: Sat Mar  5 10:12:02 2011
New Revision: 48739

URL: http://svn.gna.org/viewcvs/wesnoth?rev=48739&view=rev
Log:
Demonstration commit to gain help from mordante

Modified:
    trunk/data/gui/default/window/recruit.cfg

Modified: trunk/data/gui/default/window/recruit.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/gui/default/window/recruit.cfg?rev=48739&r1=48738&r2=48739&view=diff
==============================================================================
--- trunk/data/gui/default/window/recruit.cfg (original)
+++ trunk/data/gui/default/window/recruit.cfg Sat Mar  5 10:12:02 2011
@@ -98,6 +98,13 @@
         id=recruit_message_{SIDE}
         description="A fucking description"
         [resolution]
+
+
+            [linked_group]
+               id = "cost"
+               fixed_width = "true"
+           [/linked_group]
+
             click_dismiss=false
 
            definition= "default"
@@ -124,47 +131,42 @@
                        border = "all"
                        border_size = 5
                        horizontal_alignment = "left"
+                        vertical_alignment=top
                        [label]
                            id = "title"
                            definition = "title"
                        [/label]
                    [/column]
-                    [column]
-                        grow_factor = 1
-                       horizontal_grow = "true"
-
-                       border = "all"
-                       border_size = 5
-
-                       [scroll_label]
-                           id = "amessage"
-                        #   definition = "wml_message"
-                       [/scroll_label]
-                    [/column]
-               [/row]
+                [/row]
 
                 [row]
                     [column]
                         horizontal_alignment=left
-                        vertical_alignment=down
+                        vertical_alignment=top
                         [grid]
                             [row]
                                 [column]
-                                    border_size=5
-                                    border= "all"
-                                    automatic_placement=false
-                                    horizontal_alignment=left
-                                    vertical_alignment=down
-                                    width=500
-                                    height=500
-                                    fixed_width=true
-                                    fixed_height=true
+                                    horizontal_grow=yes
+                                    #horizontal_alignment=left
+                                    #vertical_alignment=bottom
+                                    #border_size=5
+                                    #border= "all"
+                                    #automatic_placement=true
+                                    #width=500
+                                    #height=500
+                                    min_width=500
+                                    min_height=500
+                                    #fixed_width=true
+                                    #fixed_height=true
                                     [image]
+                                        horizontal_grow=yes
                                         # name = "(portrait_image)"
                                        #w = "{__GUI_IMAGE_DISPLAYED_WIDTH}"
                                        #h = "{__GUI_IMAGE_DISPLAYED_HEIGHT}"
-                                        w=250
-                                        h=250
+                                        #w=500
+                                        #h=500
+                                        min_width=500
+                                        min_height=500
                                         #width=500
                                         #height=500
                                         #fixed_width=true
@@ -172,124 +174,181 @@
                                         id=unit_portrait
                                     [/image]
                                 [/column]
-                            [/row]
-                            [row]
-                                [column]
-                                [grid]
-                                    [row]
-                                        [column]
-                                            [button]
-                                                id=profile
-                                                label = _"Profile"
-                                            [/button]
-                                        [/column]
-                                        [column]
-                                            [button]
-                                                id=help
-                                                label = _"Help"
-                                            [/button]
-                                        [/column]
-                                    [/row]
-                                [/grid]
+
+                                [column]
+                                    horizontal_alignment=right
+                                    vertical_alignment=top
+                                    
+                                    #automatic_placement=true
+                                    [grid]
+                                        [row]
+                                            [column]
+                                                grow_factor = 1
+                                               #horizontal_grow = "true"
+                                                vertical_alignment=top
+                                                horizontal_alignment=left
+
+                                               border = "all"
+                                               border_size = 5
+
+                                               [scroll_label]
+                                                   id = "message"
+                                                   #definition = "wml_message"
+                                               [/scroll_label]
+                                            [/column]
+                                        [/row]
+
+                                        [row]
+                                            [column]
+                                                #horizontal_grow=true
+                                                vertical_alignment=top
+                                                horizontal_alignment=right
+                                                [listbox]
+                                                    id = "recruit_list"
+                                                    [list_definition]
+                                                        [row]
+                                                            [column]
+                                                                
#horizontal_grow=true
+                                                                
horizontal_alignment=right
+                                                                [toggle_panel]
+                                                                    [grid]
+                                                                        [row]
+                                                                            
[column]
+                                                                               
 [image]
+                                                                               
     id="icon"
+                                                                               
 [/image]
+                                                                            
[/column]
+                                                                            
[column]
+                                                                               
 [grid]
+                                                                               
     [row]
+                                                                               
         [column]
+                                                                               
             horizontal_alignment="left"
+                                                                               
             [label]
+                                                                               
                 id="type"
+                                                                               
                 linked_group="cost"
+                                                                               
                 definition="default"
+                                                                               
             [/label]
+                                                                               
         [/column]
+                                                                               
     [/row]
+                                                                               
     [row]
+                                                                               
        [column]
+                                                                               
            grow_factor=1
+                                                                               
            #horizontal_grow="true"
+
+                                                                               
            border="all"
+                                                                               
            border_size=5
+
+                                                                               
            [label]
+                                                                               
                id= "cost"
+                                                                               
                definition="default"
+                                                                               
                linked_group="cost"
+                                                                               
            [/label]
+                                                                               
        [/column]
+                                                                               
     [/row]
+                                                                               
 [/grid]
+                                                                            
[/column]
+                                                                        [/row]
+                                                                    [/grid]
+                                                                [/toggle_panel]
+                                                            [/column]
+                                                        [/row]
+                                                    [/list_definition]
+                                                [/listbox]
+
+                                            [/column]
+                                        [/row]
+
+                                        #[row]
+
+                                        #[/row]
+                                        #[row]
+
+                                        #[/row]
+                                    [/grid]
                                 [/column]
                             [/row]
                         [/grid]
                     [/column]
-
+                [/row]
+                #button row
+                [row]
                     [column]
-                        horizontal_alignment=right
-                        vertical_alignment=top
+                        horizontal_alignment=left
                         [grid]
                             [row]
                                 [column]
-                                    grow_factor = 1
-                                   horizontal_grow = "true"
-
-                                   border = "all"
-                                   border_size = 5
-
-                                   [scroll_label]
-                                       id = "message"
-                                       definition = "wml_message"
-                                   [/scroll_label]
-                                [/column]
-                            [/row]
-
-                            [row]
-                                [column]
-                                    horizontal_grow=true
-                                    [listbox]
-                                        id = "recruit_list"
-                                        [list_definition]
-                                            [row]
-                                                [column]
-                                                    horizontal_grow=true
-
-                                                    [toggle_panel]
-                                                        [grid]
-                                                            [row]
-                                                                [column]
-                                                                    [image]
-                                                                        
id="icon"
-                                                                    [/image]
-                                                                [/column]
-                                                                [column]
-                                                                    
horizontal_alignment= "left"
-                                                                    [label]
-                                                                        id= 
"type"
-                                                                    [/label]
-                                                                [/column]
-                                                            [/row]
-                                                        [/grid]
-                                                    [/toggle_panel]
-                                                [/column]
-                                            [/row]
-                                        [/list_definition]
-                                    [/listbox]
-
-                                [/column]
-                            [/row]
-                            [row]
-                                [column]
+                                    horizontal_alignment=left
+                                    border="all"
+                                    border_size=5
+                                    #horizontal_alignment=left
                                     [grid]
                                         [row]
                                             [column]
-                                                horizontal_alignment=right
+                                                border="all"
                                                 border_size=5
-                                                border= "all"
-                                                
+                                                horizontal_alignment=left
+                                                [button]
+                                                    id=profile
+                                                    label= _ "Profile"
+                                                [/button]
+                                            [/column]
+                                            [column]
+                                                border="all"
+                                                border_size=5
+                                                horizontal_alignment=left
+                                                [button]
+                                                    id=help
+                                                    label= _ "Help"
+                                                [/button]
+                                            [/column]
+                                        [/row]
+                                    [/grid]
+                                [/column]
+                                [column]
+                                    [spacer]
+                                        width=280
+                                        height=0
+                                        
+                                        
+                                    [/spacer]
+                                [/column]
+                                [column]
+                                    border="all"
+                                    border_size=5
+                                    #horizontal_alignment=left
+                                    horizontal_alignment=right
+                                    [grid]
+                                        [row]
+                                            [column]
+                                                border="all"
+                                                border_size=5
+                                                horizontal_alignment=left
+
                                                 [button]
                                                     id=ok
-                                                    label = _"OK"
+                                                    label= _ "Okay"
                                                 [/button]
                                             [/column]
                                             [column]
-                                                horizontal_alignment=right
+
+                                                border="all"
                                                 border_size=5
-                                                border= "all"
+                                                horizontal_alignment=left
                                                 [button]
                                                     id=cancel
-                                                    label = _"Cancel"
+                                                    label= _ "Cancel"
                                                 [/button]
                                             [/column]
                                         [/row]
                                     [/grid]
                                 [/column]
                             [/row]
-                            #[row]
-
-                            #[/row]
-                            #[row]
-
-                            #[/row]
                         [/grid]
                     [/column]
                 [/row]
-
+                #/button row
             [/grid]
-
         [/resolution]
-
     [/window]
 #enddef
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to