Permalink
Browse files

fixed issue with settings dialog on harmattan

  • Loading branch information...
xerxes2 committed Aug 3, 2011
1 parent 3301bb1 commit 10f63a9e80ecc9c82c34eb488591a071a11d5080
Showing with 8 additions and 6 deletions.
  1. +4 −3 data/ui/qml/Settings.qml
  2. +2 −1 data/ui/qml/themeGenerator.js
  3. +2 −2 doc/devices.ini
View
@@ -17,9 +17,10 @@ Item {
}
Flickable {
id: settingsFlick
width: root.width - config.button_width - config.button_border_width
height: root.height
contentWidth: root.width - config.button_width - config.button_border_width
width: rootWindow.width - config.button_width - config.button_border_width
height: rootWindow.height
contentWidth: width
contentHeight: height
clip: true
MouseArea {
@@ -5,6 +5,7 @@ function createThemeButtons() {
var component
component = Qt.createComponent("SettingsButtonSmall.qml")
var button
// On harmattan some height get lost, increase a bit
var ypos = theme_text.y + (config.font_size * 2.5)
var count = 0
var i
@@ -14,7 +15,7 @@ function createThemeButtons() {
button.x = settingsFlick.width / 25
button.y = ypos
count++
settingsFlick.contentHeight = ypos + (config.font_size * 5)
settingsFlick.contentHeight = ypos + (config.font_size * 7)
}
else if (count == 1) {
button.x = (settingsFlick.width / 25 * 2) + button.width
View
@@ -12,8 +12,8 @@ font_size=24
[N950]
gui=qml
main_width=848
main_height=440
main_width=854
main_height=444
cover_height=240
progress_height=90
button_height=90

0 comments on commit 10f63a9

Please sign in to comment.