mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Use style singleton on chat bubbles
This commit is contained in:
parent
6f718bb6f4
commit
69ed518555
4 changed files with 54 additions and 23 deletions
25
retroshare-qml-app/src/styles/ChatBubblesStyle.qml
Normal file
25
retroshare-qml-app/src/styles/ChatBubblesStyle.qml
Normal file
|
@ -0,0 +1,25 @@
|
|||
import QtQuick 2.0
|
||||
pragma Singleton
|
||||
|
||||
QtObject {
|
||||
|
||||
// Margins
|
||||
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
|
||||
|
||||
// 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"
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue