Commit 1ec87096 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(app): code style fixes

parent 51b82364
...@@ -35,6 +35,7 @@ ColumnLayout { ...@@ -35,6 +35,7 @@ ColumnLayout {
} }
color: ActionMenuStyle.entry.text.color color: ActionMenuStyle.entry.text.color
elide: Text.ElideRight
font.pointSize: ActionMenuStyle.entry.text.fontSize font.pointSize: ActionMenuStyle.entry.text.fontSize
height: parent.height height: parent.height
text: modelData text: modelData
......
// ===================================================================
// Menu which supports `ListView`.
// ===================================================================
AbstractDropDownMenu { AbstractDropDownMenu {
property int entryHeight property int entryHeight
property int maxMenuHeight property int maxMenuHeight
......
// ===================================================================
// Menu which supports menu like `ActionMenu` or `Menu`.
// ===================================================================
AbstractDropDownMenu { AbstractDropDownMenu {
function _computeHeight () { function _computeHeight () {
return _content[0].height return _content[0].height
......
...@@ -16,7 +16,6 @@ QtObject { ...@@ -16,7 +16,6 @@ QtObject {
property QtObject sphere: QtObject { property QtObject sphere: QtObject {
property color color: Colors.r property color color: Colors.r
property int size: 10 property int size: 10
} }
} }
...@@ -22,7 +22,6 @@ QtObject { ...@@ -22,7 +22,6 @@ QtObject {
property QtObject description: QtObject { property QtObject description: QtObject {
property color color: Colors.l property color color: Colors.l
property int fontSize: 12 property int fontSize: 12
property int verticalMargin: 25 property int verticalMargin: 25
} }
......
...@@ -16,7 +16,6 @@ QtObject { ...@@ -16,7 +16,6 @@ QtObject {
property QtObject text: QtObject { property QtObject text: QtObject {
property color color: Colors.i property color color: Colors.i
property int fontSize: 11 property int fontSize: 11
} }
} }
......
...@@ -16,7 +16,6 @@ QtObject { ...@@ -16,7 +16,6 @@ QtObject {
property QtObject placeholder: QtObject { property QtObject placeholder: QtObject {
property color color: Colors.d property color color: Colors.d
property int fontSize: 10 property int fontSize: 10
} }
...@@ -36,7 +35,6 @@ QtObject { ...@@ -36,7 +35,6 @@ QtObject {
property QtObject text: QtObject { property QtObject text: QtObject {
property color color: Colors.l property color color: Colors.l
property int fontSize: 10 property int fontSize: 10
property int width: 130 property int width: 130
} }
......
...@@ -19,7 +19,6 @@ QtObject { ...@@ -19,7 +19,6 @@ QtObject {
property QtObject text: QtObject { property QtObject text: QtObject {
property color color: Colors.k property color color: Colors.k
property int fontSize: 8 property int fontSize: 8
} }
} }
...@@ -9,14 +9,12 @@ QtObject { ...@@ -9,14 +9,12 @@ QtObject {
property int spacing: 1 property int spacing: 1
property QtObject entry: QtObject { property QtObject entry: QtObject {
property color color: Colors.i
property int leftMargin: 4 property int leftMargin: 4
property int rightMargin: 4 property int rightMargin: 4
property color color: Colors.i
property QtObject text: QtObject { property QtObject text: QtObject {
property color color: Colors.k property color color: Colors.k
property int fontSize: 8 property int fontSize: 8
} }
} }
......
...@@ -24,7 +24,6 @@ QtObject { ...@@ -24,7 +24,6 @@ QtObject {
property QtObject text: QtObject { property QtObject text: QtObject {
property color color: Colors.k property color color: Colors.k
property int fontSize: 13 property int fontSize: 13
} }
} }
......
...@@ -10,7 +10,6 @@ QtObject { ...@@ -10,7 +10,6 @@ QtObject {
property QtObject shadow: QtObject { property QtObject shadow: QtObject {
property color color: Colors.f property color color: Colors.f
property int horizontalOffset: 2 property int horizontalOffset: 2
property int radius: 8 property int radius: 8
property int samples: 15 property int samples: 15
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment