demos\outlook\content.sdf
  1 GridPane {
  2   name: "content_workspace"
  3   columns: "1"
  4   rows: "3"
  5   rowSpacing: "0"
  6   bgColor: "white"
  7   regions {
  8     {
  9       name: "content_toolbar"
 10       bounds { x: "0"; y: "0" }
 11       verticalFill: preferred
 12       viewer {
 13         ToolBar {
 14           name: "content_toolbar"
 15           bgColor: "Sage.controlLtGradient,Sage.controlDkGradient"
 16           borders: "line"
 17           contentPadding { left: "2"; top: "2"; right: "2"; bottom: "2" }
 18           widgets {
 19             {
 20               Label {
 21                 bounds { width: "20" }
 22               }
 23             }
 24             {
 25               ComboBox {
 26                 name: "content_toolbar_lookfor"
 27                 title: "Look For:"
 28                 titleLocation: "center_left"
 29                 bounds { width: "20ch" }
 30                 editable: "true"
 31               }
 32             }
 33             {
 34               Label {
 35                 bounds { width: "20" }
 36               }
 37             }
 38             {
 39               PushButton {
 40                 name: "content_toolbar_searchin"
 41                 horizontalAlign: "center"
 42                 bounds { width: "10ch" }
 43                 actionType: "popup_menu"
 44                 popupMenu {
 45                   {value: "Mail Folders" }
 46                   {value: "AllFolders" }
 47                   {}
 48                   {value: "Choose Folders..." }
 49                 }
 50                 value: "Search In"
 51               }
 52             }
 53             {
 54               TextField {
 55                 name: "content.toolbar_searchin_field"
 56                 titleLocation: "center_left"
 57                 bounds { width: "25ch"}
 58               }
 59             }
 60             {
 61               PushButton {
 62                 name: "content_toolbar_findnow"
 63                 horizontalAlign: "center"
 64                 value: "Find Now"
 65               }
 66             }
 67             {
 68               Label {
 69                 bounds { width: "20" }
 70               }
 71             }
 72             {
 73               PushButton {
 74                 name: "content_toolbar_clear"
 75                 horizontalAlign: "center"
 76                 value: "Clear"
 77               }
 78             }
 79           }
 80         }
 81       }
 82     }
 83     {
 84       bounds { x: "0"; y: "1" }
 85       verticalFill: "preferred"
 86       viewer {
 87         WidgetPane {
 88           name: "content_title"
 89           widget {
 90             Label {
 91               font { size: "*2"; style: "bold" }
 92               fgColor: "white"
 93               bgColor: "controlShadow,controlShadow-15"
 94               contentPadding { left: "5" }
 95               textHAlignment: "left"
 96               iconPosition: "right_justified"
 97             }
 98          }
 99        }
100       }
101     }
102     {
103       bounds { x: "0"; y: "2" }
104       viewer {
105         StackPane {
106           name: "content_stack"
107           selectedIndex: 0
108           standardHandlers: "onChange" //define a standard handler, the engine will automatically call content_stack_onChange()for change events
109           viewerURLs {
110             "email/email_content.sdf" [ name="email" ]
111             "calendar/calendar_content.sdf" [ name="calendar" ]
112             "contacts/contacts_content.sdf" [ name="contacts" ]
113             "tasks/tasks_content.sdf" [ name="tasks" ]
114             "notes/notes_content.sdf" [ name="notes" ]
115           }
116         }
117       }
118     }
119   }
120 }
121 
122 
123 
124