Skip to content
Browse files

Increase relative size of home button (Desktop)

Change size of home button from half of gesture bar height to 2/3rds
Add example to luna-desktop.conf file for setting height of this bar

Open-webOS-DCO-1.0-Signed-off-by: Roger Stringer <roger.stringer@palm.com>

Change-Id: I3f50227259e077a58115267751c83f28c4056fd4
  • Loading branch information...
1 parent fa3ad8d commit ee5fdb36a4815a0db50532a3bf83232adb15d2db @RS102839 RS102839 committed Oct 15, 2012
Showing with 4 additions and 3 deletions.
  1. +2 −2 Src/base/hosts/HostQtDesktop.cpp
  2. +2 −1 conf/luna-desktop.conf
View
4 Src/base/hosts/HostQtDesktop.cpp
@@ -95,8 +95,8 @@ class GestureStrip : public QWidget
setAttribute(Qt::WA_AcceptTouchEvents);
m_homeButton = new QPushButton(this);
- m_homeButton->setFixedSize(GESTURE_AREA_HEIGHT / 2,
- GESTURE_AREA_HEIGHT / 2);
+ m_homeButton->setFixedSize((2*GESTURE_AREA_HEIGHT) / 3,
+ (2*GESTURE_AREA_HEIGHT) / 3);
m_homeButton->setAttribute(Qt::WA_AcceptTouchEvents);
m_homeButton->setFocusPolicy(Qt::NoFocus);
View
3 conf/luna-desktop.conf
@@ -20,9 +20,10 @@ ShowReticle=true
PackageManifestsPath=/tmp/webos
ScreenCapturesPath=/tmp/webos/captures
LogFileName=/tmp/webos/lunasysmgr.log
+ShowNotificationsAtTop=true
DisplayWidth=1024
DisplayHeight=768
-ShowNotificationsAtTop=true
+GestureAreaHeight=40
[UI]
TabletUi=true

0 comments on commit ee5fdb3

Please sign in to comment.
Something went wrong with that request. Please try again.