mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Refactor style sheet to be more structurated
This commit is contained in:
parent
81a8677226
commit
78206c5a00
4 changed files with 87 additions and 24 deletions
|
@ -3,24 +3,27 @@ pragma Singleton
|
|||
|
||||
QtObject {
|
||||
|
||||
// Bubble measures
|
||||
readonly property int lMarginBubble: 10
|
||||
readonly property int rMarginBubble: 10
|
||||
readonly property int tMarginBubble: 5
|
||||
readonly property int bMarginBubble: 10
|
||||
readonly property int aditionalBubbleHeight: tMarginBubble * 2
|
||||
readonly property int aditionalBubbleWidth: 30
|
||||
readonly property real bubbleMaxWidth: 0.5 // % from parent
|
||||
property QtObject bubble: QtObject{
|
||||
// Bubble measures
|
||||
readonly property int lMarginBubble: 10
|
||||
readonly property int rMarginBubble: 10
|
||||
readonly property int tMarginBubble: 5
|
||||
readonly property int bMarginBubble: 10
|
||||
readonly property int aditionalBubbleHeight: tMarginBubble * 2
|
||||
readonly property int aditionalBubbleWidth: 30
|
||||
readonly property real bubbleMaxWidth: 0.5 // % from parent
|
||||
|
||||
// BubbleProps
|
||||
readonly property int radius: 5
|
||||
// BubbleProps
|
||||
readonly property int radius: 5
|
||||
|
||||
|
||||
// Colors
|
||||
readonly property string colorIncoming: "lightGreen"
|
||||
readonly property string colorOutgoing: "aliceblue"
|
||||
readonly property string colorSenderName: "cornflowerblue"
|
||||
readonly property string colorMessageTime: "grey"
|
||||
// Colors
|
||||
readonly property string colorIncoming: "lightGreen"
|
||||
readonly property string colorOutgoing: "aliceblue"
|
||||
readonly property string colorSenderName: "cornflowerblue"
|
||||
readonly property string colorMessageTime: "grey"
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue