Merge branch 'develop'
[lichviet] / qml / LichViet / ToolBarSingle.qml
index 0225060..2607d01 100644 (file)
@@ -15,19 +15,33 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>
 */
 
-import QtQuick 1.0
+import QtQuick 1.1
 
 Item {
-    id: toolbarsingle
+    id: toolbar
 
     property alias button1Label: button1.text
+
+    opacity: 0.8
+
     signal button1Clicked
-    focus:true
-    BorderImage { source:  theme_manager.theme.titlebar.sci; width: parent.width; height: parent.height + 14; y: -7 }
+
+    Rectangle {
+        color:"#7373b1"
+        width: parent.width
+        height: parent.height + 14
+
+        radius: 4
+    }
+
     Button {
-        id: button1
-       anchors.right: parent.right; anchors.rightMargin: 5; y: 3; width: 140; height: 40
-        onClicked: toolbarsingle.button1Clicked()
-        focus:true
+        id:button1
+        anchors.right: parent.right
+        anchors.rightMargin: 5
+        y: 5
+        width: 140
+        height: 42
+        onClicked: toolbar.button1Clicked();
     }
+
 }