mirror of
https://github.com/logos-blockchain/logos-blockchain-ui.git
synced 2026-04-01 17:03:31 +00:00
fix: radiobuttons & checkboxes
This commit is contained in:
parent
bff89be9aa
commit
3da2b466d7
@ -142,12 +142,9 @@ ColumnLayout {
|
||||
|
||||
CheckBox {
|
||||
id: noPublicIpCheckBox
|
||||
contentItem: LogosText {
|
||||
text: qsTr("No public IP check")
|
||||
font.pixelSize: Theme.typography.secondaryText
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
leftPadding: noPublicIpCheckBox.indicator.width + noPublicIpCheckBox.spacing
|
||||
}
|
||||
text: qsTr("No public IP check")
|
||||
font.pixelSize: Theme.typography.secondaryText
|
||||
palette.windowText: Theme.palette.text
|
||||
}
|
||||
|
||||
// Deployment
|
||||
@ -159,13 +156,17 @@ ColumnLayout {
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
spacing: Theme.spacing.medium
|
||||
LogosRadioButton {
|
||||
RadioButton {
|
||||
id: devnetRadio
|
||||
font.pixelSize: Theme.typography.secondaryText
|
||||
palette.windowText: Theme.palette.text
|
||||
checked: true
|
||||
text: qsTr("Devnet")
|
||||
}
|
||||
LogosRadioButton {
|
||||
RadioButton {
|
||||
id: customRadio
|
||||
font.pixelSize: Theme.typography.secondaryText
|
||||
palette.windowText: Theme.palette.text
|
||||
text: qsTr("Custom config")
|
||||
}
|
||||
LogosTextField {
|
||||
@ -224,15 +225,5 @@ ColumnLayout {
|
||||
if (urlStr.length > 0)
|
||||
outputField.text = urlStr + "/user_config.yaml"
|
||||
}
|
||||
}
|
||||
|
||||
component LogosRadioButton: RadioButton {
|
||||
id: customRadio
|
||||
contentItem: LogosText {
|
||||
text: customRadio.text
|
||||
font.pixelSize: Theme.typography.secondaryText
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
leftPadding: noPublicIpCheckBox.indicator.width + noPublicIpCheckBox.spacing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user