mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Line-length fixes
This commit is contained in:
parent
f6c754c57f
commit
4248deeb76
1 changed files with 7 additions and 9 deletions
|
@ -7,13 +7,11 @@ import QtQuick.Dialogs 1.1
|
||||||
import UM 1.3 as UM
|
import UM 1.3 as UM
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A Printer Card is has two main components: the printer portion and the print
|
* A Printer Card is has two main components: the printer portion and the print job portion, the latter being paired in
|
||||||
* job portion, the latter being paired in the UI when a print job is paired
|
* the UI when a print job is paired a printer in-cluster.
|
||||||
* a printer in-cluster.
|
|
||||||
*
|
*
|
||||||
* NOTE: For most labels, a fixed height with vertical alignment is used to make
|
* NOTE: For most labels, a fixed height with vertical alignment is used to make layouts more deterministic (like the
|
||||||
* layouts more deterministic (like the fixed-size textboxes used in original
|
* fixed-size textboxes used in original mock-ups). This is also a stand-in for CSS's 'line-height' property. Denoted
|
||||||
* mock-ups). This is also a stand-in for CSS's 'line-height' property. Denoted
|
|
||||||
* with '// FIXED-LINE-HEIGHT:'.
|
* with '// FIXED-LINE-HEIGHT:'.
|
||||||
*/
|
*/
|
||||||
Item
|
Item
|
||||||
|
@ -25,9 +23,8 @@ Item
|
||||||
|
|
||||||
property var borderSize: 1 * screenScaleFactor // TODO: Theme, and remove from here
|
property var borderSize: 1 * screenScaleFactor // TODO: Theme, and remove from here
|
||||||
|
|
||||||
// If the printer card's controls are enabled. This is used by the carousel
|
// If the printer card's controls are enabled. This is used by the carousel to prevent opening the context menu or
|
||||||
// to prevent opening the context menu or camera while the printer card is not
|
// camera while the printer card is not "in focus"
|
||||||
// "in focus"
|
|
||||||
property var enabled: true
|
property var enabled: true
|
||||||
|
|
||||||
width: 834 * screenScaleFactor // TODO: Theme!
|
width: 834 * screenScaleFactor // TODO: Theme!
|
||||||
|
@ -217,6 +214,7 @@ Item
|
||||||
}
|
}
|
||||||
border
|
border
|
||||||
{
|
{
|
||||||
|
// TODO: Fix line length
|
||||||
color: printer && printer.activePrintJob && printer.activePrintJob.configurationChanges.length > 0 ? "#f5a623" : "transparent" // TODO: Theme!
|
color: printer && printer.activePrintJob && printer.activePrintJob.configurationChanges.length > 0 ? "#f5a623" : "transparent" // TODO: Theme!
|
||||||
width: borderSize // TODO: Remove once themed
|
width: borderSize // TODO: Remove once themed
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue