mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 09:05:53 +08:00
Change the row height in the table view
CURA-7868
This commit is contained in:
parent
adcdf7bad9
commit
606ec587fe
@ -13,7 +13,7 @@ OldControls.TableView
|
|||||||
{
|
{
|
||||||
itemDelegate: Item
|
itemDelegate: Item
|
||||||
{
|
{
|
||||||
height: tableCellLabel.implicitHeight + UM.Theme.getSize("thin_margin").height
|
height: tableCellLabel.implicitHeight
|
||||||
|
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
@ -29,7 +29,8 @@ OldControls.TableView
|
|||||||
|
|
||||||
rowDelegate: Rectangle
|
rowDelegate: Rectangle
|
||||||
{
|
{
|
||||||
color: styleData.selected ? UM.Theme.getColor("toolbar_button_hover") : UM.Theme.getColor("main_background")
|
color: styleData.selected ? UM.Theme.getColor("secondary") : UM.Theme.getColor("main_background")
|
||||||
|
height: UM.Theme.getSize("table_row").height
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use the old styling technique since it's the only way to make the scrollbars themed in the TableView
|
// Use the old styling technique since it's the only way to make the scrollbars themed in the TableView
|
||||||
|
@ -630,6 +630,8 @@
|
|||||||
"monitor_external_link_icon": [1.16, 1.16],
|
"monitor_external_link_icon": [1.16, 1.16],
|
||||||
"monitor_column": [18.0, 1.0],
|
"monitor_column": [18.0, 1.0],
|
||||||
"monitor_progress_bar": [16.5, 1.0],
|
"monitor_progress_bar": [16.5, 1.0],
|
||||||
"monitor_margin": [1.5, 1.5]
|
"monitor_margin": [1.5, 1.5],
|
||||||
|
|
||||||
|
"table_row": [2.0, 2.0]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user