载入中...
搜索中...
未找到
eve::ui::ThemeLayout结构体 参考

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.

在文件 Theme.h 第 16 行定义.

类成员变量说明

◆ barPaddingX

float eve::ui::ThemeLayout::barPaddingX = 10.f

在文件 Theme.h 第 27 行定义.

◆ barPaddingY

float eve::ui::ThemeLayout::barPaddingY = 6.f

在文件 Theme.h 第 28 行定义.

◆ cardPaddingX

float eve::ui::ThemeLayout::cardPaddingX = 14.f

在文件 Theme.h 第 25 行定义.

◆ cardPaddingY

float eve::ui::ThemeLayout::cardPaddingY = 12.f

在文件 Theme.h 第 26 行定义.

◆ minPaneSize

float eve::ui::ThemeLayout::minPaneSize = 160.f

在文件 Theme.h 第 22 行定义.

◆ panelPaddingX

float eve::ui::ThemeLayout::panelPaddingX = 12.f

在文件 Theme.h 第 23 行定义.

◆ panelPaddingY

float eve::ui::ThemeLayout::panelPaddingY = 10.f

在文件 Theme.h 第 24 行定义.

◆ searchIconGap

float eve::ui::ThemeLayout::searchIconGap = 7.f

在文件 Theme.h 第 31 行定义.

◆ searchMinWidth

float eve::ui::ThemeLayout::searchMinWidth = 120.f

在文件 Theme.h 第 30 行定义.

被这些函数引用 eve::ui::measureNode().

◆ sectionSpacingY

float eve::ui::ThemeLayout::sectionSpacingY = 6.f

在文件 Theme.h 第 29 行定义.

被这些函数引用 eve::ui::measureNode().

◆ sidebarWidth

float eve::ui::ThemeLayout::sidebarWidth = 240.f

在文件 Theme.h 第 19 行定义.

被这些函数引用 eve::ui::measureNode().

◆ splitterSize

float eve::ui::ThemeLayout::splitterSize = 6.f

在文件 Theme.h 第 21 行定义.

被这些函数引用 eve::ui::measureNode().

◆ statusBarHeight

float eve::ui::ThemeLayout::statusBarHeight = 36.f

在文件 Theme.h 第 18 行定义.

被这些函数引用 eve::ui::measureNode().

◆ toolbarHeight

float eve::ui::ThemeLayout::toolbarHeight = 48.f

在文件 Theme.h 第 17 行定义.

被这些函数引用 eve::ui::measureNode().

◆ toolboxCellSize

float eve::ui::ThemeLayout::toolboxCellSize = 44.f

在文件 Theme.h 第 20 行定义.

被这些函数引用 eve::ui::measureNode().


该结构体的文档由以下文件生成: