mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix styling of visibilityPresetCombobox
This commit is contained in:
parent
1b9c86603c
commit
f15f01e32f
1 changed files with 14 additions and 14 deletions
|
|
@ -11,7 +11,7 @@ import Cura 1.0 as Cura
|
||||||
|
|
||||||
UM.PreferencesPage
|
UM.PreferencesPage
|
||||||
{
|
{
|
||||||
title: catalog.i18nc("@title:tab", "Setting Visibility");
|
title: catalog.i18nc("@title:tab", "Setting Visibility")
|
||||||
|
|
||||||
property QtObject settingVisibilityPresetsModel: CuraApplication.getSettingVisibilityPresetsModel()
|
property QtObject settingVisibilityPresetsModel: CuraApplication.getSettingVisibilityPresetsModel()
|
||||||
|
|
||||||
|
|
@ -31,16 +31,16 @@ UM.PreferencesPage
|
||||||
|
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
id: base;
|
id: base
|
||||||
anchors.fill: parent;
|
anchors.fill: parent
|
||||||
|
|
||||||
OldControls.CheckBox
|
OldControls.CheckBox
|
||||||
{
|
{
|
||||||
id: toggleVisibleSettings
|
id: toggleVisibleSettings
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
verticalCenter: filter.verticalCenter;
|
verticalCenter: filter.verticalCenter
|
||||||
left: parent.left;
|
left: parent.left
|
||||||
leftMargin: UM.Theme.getSize("default_margin").width
|
leftMargin: UM.Theme.getSize("default_margin").width
|
||||||
}
|
}
|
||||||
text: catalog.i18nc("@label:textbox", "Check all")
|
text: catalog.i18nc("@label:textbox", "Check all")
|
||||||
|
|
@ -80,7 +80,7 @@ UM.PreferencesPage
|
||||||
|
|
||||||
TextField
|
TextField
|
||||||
{
|
{
|
||||||
id: filter;
|
id: filter
|
||||||
|
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
|
|
@ -96,7 +96,7 @@ UM.PreferencesPage
|
||||||
onTextChanged: definitionsModel.filter = {"i18n_label|i18n_description": "*" + text}
|
onTextChanged: definitionsModel.filter = {"i18n_label|i18n_description": "*" + text}
|
||||||
}
|
}
|
||||||
|
|
||||||
ComboBox
|
Cura.ComboBox
|
||||||
{
|
{
|
||||||
id: visibilityPreset
|
id: visibilityPreset
|
||||||
width: 150 * screenScaleFactor
|
width: 150 * screenScaleFactor
|
||||||
|
|
@ -104,7 +104,7 @@ UM.PreferencesPage
|
||||||
{
|
{
|
||||||
top: parent.top
|
top: parent.top
|
||||||
right: parent.right
|
right: parent.right
|
||||||
bottom: settingsListView.top
|
verticalCenter: filter.verticalCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
model: settingVisibilityPresetsModel.items
|
model: settingVisibilityPresetsModel.items
|
||||||
|
|
@ -136,11 +136,11 @@ UM.PreferencesPage
|
||||||
id: settingsListView
|
id: settingsListView
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
top: filter.bottom;
|
top: filter.bottom
|
||||||
topMargin: UM.Theme.getSize("default_margin").height
|
topMargin: UM.Theme.getSize("default_margin").height
|
||||||
left: parent.left;
|
left: parent.left
|
||||||
right: parent.right;
|
right: parent.right
|
||||||
bottom: parent.bottom;
|
bottom: parent.bottom
|
||||||
}
|
}
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
|
|
@ -182,8 +182,8 @@ UM.PreferencesPage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.I18nCatalog { name: "cura"; }
|
UM.I18nCatalog { name: "cura" }
|
||||||
SystemPalette { id: palette; }
|
SystemPalette { id: palette }
|
||||||
|
|
||||||
Component
|
Component
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue