linphone-desktop/Linphone/view/Control/Button/RoundButton.qml
2025-06-05 17:01:57 +02:00

20 lines
557 B
QML

import QtQuick
import QtQuick.Controls.Basic as Control
import QtQuick.Effects
import QtQuick.Layouts
import Linphone
Button {
id: mainItem
textSize: Typography.p1s.pixelSize
textWeight: Typography.p1s.weight
padding: Math.round(16 * DefaultStyle.dp)
// bottomPadding: Math.round(16 * DefaultStyle.dp)
// leftPadding: Math.round(16 * DefaultStyle.dp)
// rightPadding: Math.round(16 * DefaultStyle.dp)
icon.width: width
icon.height: width
radius: width * 2
// width: Math.round(24 * DefaultStyle.dp)
height: width
}