bluetoothengine/btnotif/btdevicedialogplugin/docml/bt-device-search-dialog.docml
changeset 70 f5508c13dfe0
parent 57 5ebadcda06cb
--- a/bluetoothengine/btnotif/btdevicedialogplugin/docml/bt-device-search-dialog.docml	Wed Oct 13 13:15:31 2010 +0300
+++ b/bluetoothengine/btnotif/btdevicedialogplugin/docml/bt-device-search-dialog.docml	Tue Oct 19 15:09:34 2010 +0300
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<hbdocument version="1.1">
+<hbdocument version="1.2">
     <object name="viewByAction" type="HbAction">
         <string locid="txt_common_button_show" name="text" value="Show"/>
     </object>
@@ -10,47 +10,45 @@
         <string locid="txt_common_button_cancel" name="text" value="Cancel"/>
     </object>
     <widget name="searchDialog" type="HbDialog">
-        <rect height="96un" name="geometry" width="60.73134un" x="1.2un" y="4.1791un"/>
-        <sizehint type="PREFERRED" width="49.73134un"/>
-        <sizehint type="MAXIMUM" width="50.73134un"/>
-        <size height="91.52239un" name="size" width="50.73134un"/>
         <widget name="bluetoothSearchHeading" role="HbDialog:headingWidget" type="HbLabel">
             <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
             <string locid="txt_bt_subhead_bluetooth_found_devices" name="plainText"/>
         </widget>
         <widget name="itemContainer" role="HbDialog:contentWidget" type="HbWidget">
+            <sizepolicy horizontalPolicy="Expanding" verticalPolicy="Expanding" />
             <widget name="labelContainer" type="HbWidget">
                 <widget name="searchDoneLabel" type="HbLabel">
-                    <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
-                    <sizehint height="3.8806un" type="PREFERRED" width="26.86567un"/>
                     <string locid="txt_bt_subhead_search_done" name="plainText"/>
                 </widget>
                 <widget name="searchLabel" type="HbLabel">
-                    <sizehint height="3.8806un" type="PREFERRED" width="18.95522un"/>
                     <string locid="txt_bt_subhead_searching" name="plainText"/>
                 </widget>
-                <widget name="searchIconLabel" type="HbLabel">
-                    <sizehint height="3.8806un" type="PREFERRED" width="3.43284un"/>
-                </widget>
+                <widget name="searchIconLabel" type="HbLabel"/>
                 <real name="z" value="0"/>
-                <sizehint height="25" type="PREFERRED" width="23.8806un"/>
                 <layout type="anchor">
-                    <anchoritem dst="searchIconLabel" dstEdge="LEFT" spacing="0.14925un" src="" srcEdge="LEFT"/>
-                    <anchoritem dst="searchIconLabel" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
-                    <anchoritem dst="searchDoneLabel" dstEdge="LEFT" spacing="0.14925un" src="" srcEdge="LEFT"/>
-                    <anchoritem dst="searchDoneLabel" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
-                    <anchoritem dst="searchLabel" dstEdge="LEFT" spacing="4.47761un" src="" srcEdge="LEFT"/>
-                    <anchoritem dst="searchLabel" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
+                    <anchoritem dst="searchIconLabel" dstEdge="LEFT" prefLength="0.14925un" src="" srcEdge="LEFT"/>
+                    <anchoritem dst="searchIconLabel" dstEdge="TOP" src="" srcEdge="TOP"/>
+                    <anchoritem dst="searchIconLabel" dstEdge="BOTTOM" sizePolicy="Expanding" src="" srcEdge="BOTTOM"/>
+                    <anchoritem dst="searchLabel" dstEdge="LEFT" prefLength="6.47761un" src="" srcEdge="LEFT"/>
+                    <anchoritem dst="searchLabel" dstEdge="TOP" src="" srcEdge="TOP"/>
+                    <anchoritem dst="searchLabel" dstEdge="BOTTOM" sizePolicy="Expanding" src="" srcEdge="BOTTOM"/>
+                    <anchoritem dst="searchDoneLabel" dstEdge="LEFT" prefLength="0.14925un" src="" srcEdge="LEFT"/>
+                    <anchoritem dst="searchDoneLabel" dstEdge="TOP" src="" srcEdge="TOP"/>
+                    <anchoritem dst="searchDoneLabel" dstEdge="BOTTOM" sizePolicy="Expanding" src="" srcEdge="BOTTOM"/>
                 </layout>
             </widget>
             <widget name="deviceList" type="HbListView">
                 <widget name="listItemPrototype" role="HbAbstractView:prototype" type="HbListViewItem"/>
                 <enums name="verticalScrollBarPolicy" value="ScrollBarAsNeeded"/>
-                <sizehint height="65.7612un" type="PREFERRED" width="35.8209un"/>
             </widget>
-            <layout type="grid">
-                <griditem column="0" itemname="labelContainer" row="0"/>
-                <griditem column="0" itemname="deviceList" row="1"/>
+            <layout type="anchor">
+                <anchoritem dst="" dstEdge="LEFT" src="labelContainer" srcEdge="LEFT"/>
+                <anchoritem dst="" dstEdge="TOP" src="labelContainer" srcEdge="TOP"/>
+                <anchoritem dst="" dstEdge="RIGHT" src="labelContainer" srcEdge="RIGHT"/>
+                <anchoritem dst="labelContainer" dstEdge="BOTTOM" src="deviceList" srcEdge="TOP"/>
+                <anchoritem dst="" dstEdge="LEFT" src="deviceList" srcEdge="LEFT"/>
+                <anchoritem dst="" dstEdge="RIGHT" src="deviceList" srcEdge="RIGHT"/>
+                <anchoritem dst="" dstEdge="BOTTOM" sizePolicy="Expanding" src="deviceList" srcEdge="BOTTOM"/>
             </layout>
         </widget>
         <ref object="viewByAction" role="HbWidget:addAction"/>