载入中...
搜索中...
未找到
Semantic layout tokens shared by editor-oriented widgets. 更多...
#include <Theme.h>
Public 属性 | |
| float | toolbarHeight = 48.f |
| float | statusBarHeight = 36.f |
| float | sidebarWidth = 240.f |
| float | toolboxCellSize = 44.f |
| float | splitterSize = 6.f |
| float | minPaneSize = 160.f |
| float | panelPaddingX = 12.f |
| float | panelPaddingY = 10.f |
| float | cardPaddingX = 14.f |
| float | cardPaddingY = 12.f |
| float | barPaddingX = 10.f |
| float | barPaddingY = 6.f |
| float | sectionSpacingY = 6.f |
| float | searchMinWidth = 120.f |
| float | searchIconGap = 7.f |
详细描述
Semantic layout tokens shared by editor-oriented widgets.
Values are logical design units at uiScale=1. Components use these values only when the corresponding WidgetDesc property is unset, so per-widget size, padding and margin remain the higher-specificity override.
类成员变量说明
◆ barPaddingX
◆ barPaddingY
◆ cardPaddingX
◆ cardPaddingY
◆ minPaneSize
◆ panelPaddingX
◆ panelPaddingY
◆ searchIconGap
◆ searchMinWidth
| float eve::ui::ThemeLayout::searchMinWidth = 120.f |
被这些函数引用 eve::ui::measureNode().
◆ sectionSpacingY
| float eve::ui::ThemeLayout::sectionSpacingY = 6.f |
被这些函数引用 eve::ui::measureNode().
◆ sidebarWidth
| float eve::ui::ThemeLayout::sidebarWidth = 240.f |
被这些函数引用 eve::ui::measureNode().
◆ splitterSize
| float eve::ui::ThemeLayout::splitterSize = 6.f |
被这些函数引用 eve::ui::measureNode().
◆ statusBarHeight
| float eve::ui::ThemeLayout::statusBarHeight = 36.f |
被这些函数引用 eve::ui::measureNode().
◆ toolbarHeight
| float eve::ui::ThemeLayout::toolbarHeight = 48.f |
被这些函数引用 eve::ui::measureNode().
◆ toolboxCellSize
| float eve::ui::ThemeLayout::toolboxCellSize = 44.f |
被这些函数引用 eve::ui::measureNode().
该结构体的文档由以下文件生成:
- src/modules/ui/Theme.h