mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06:00
Fix add by ip page styling
CURA-6057
This commit is contained in:
parent
b1fe110f9f
commit
5cce4cd4cd
1 changed files with 5 additions and 7 deletions
|
@ -69,16 +69,14 @@ Item
|
|||
width: parent.width
|
||||
anchors.top: explainLabel.bottom
|
||||
|
||||
TextField
|
||||
Cura.TextField
|
||||
{
|
||||
id: hostnameField
|
||||
width: (parent.width / 2) | 0
|
||||
height: addPrinterButton.height
|
||||
anchors.verticalCenter: addPrinterButton.verticalCenter
|
||||
anchors.left: parent.left
|
||||
height: addPrinterButton.height
|
||||
anchors.right: addPrinterButton.left
|
||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
||||
font: UM.Theme.getFont("default")
|
||||
selectByMouse: true
|
||||
|
||||
validator: RegExpValidator
|
||||
{
|
||||
|
@ -89,11 +87,11 @@ Item
|
|||
onAccepted: addPrinterButton.clicked()
|
||||
}
|
||||
|
||||
Cura.PrimaryButton
|
||||
Cura.SecondaryButton
|
||||
{
|
||||
id: addPrinterButton
|
||||
anchors.top: parent.top
|
||||
anchors.right: parent.right
|
||||
anchors.left: hostnameField.right
|
||||
anchors.margins: UM.Theme.getSize("default_margin").width
|
||||
|
||||
text: catalog.i18nc("@button", "Add")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue