Changeset 924fe1


Ignore:
Timestamp:
01/30/12 12:56:59 (4 months ago)
Author:
Micke Prag <micke.prag@…>
Branches:
('master', 'deebf2045e7119c339412580f37a1e653f7d5715')('controller-upgrade', '00f95d22e12d96ef089e0902ef62ae8ce841dc6f')
Children:
9a8c76513f58a452770eceaf32278722fc7390f5
Parents:
03f00a0fffd8fbe8b762541f599dbaa323988e32
git-author:
Micke Prag <micke.prag@telldus.se>2012-01-30 12:56:59+01:00
git-committer:
Micke Prag <micke.prag@telldus.se>2012-01-30 12:56:59+01:00
Message:

Set a minimum width for the sensor view, closes #165

Location:
telldus-gui/Plugins/Sensors
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • telldus-gui/Plugins/Sensors/SensorList.qml

    r645ef2 r924fe1  
    44Column { 
    55        id: sensorList 
     6        property int minimumWidth: main.state == "EDIT" ? 770 : 475 
    67        spacing: 1 
    78 
  • telldus-gui/Plugins/Sensors/main.qml

    re69f7a r924fe1  
    1616                SensorList { 
    1717                        id: sensorList 
    18                         width: main.width-scrollArea.verticalScrollBar.width 
     18                        property int calculatedWidth: main.width-scrollArea.verticalScrollBar.width 
     19                        width: (calculatedWidth < minimumWidth ? minimumWidth : calculatedWidth) 
    1920                } 
    2021        } 
Note: See TracChangeset for help on using the changeset viewer.