+
+
+
+ this.setState({
+ searchText,
+ })
+ }
+ onRequestSearch={this._selectFirstInstance}
+ placeholder={t`Search instances`}
+ />
+
+
+
+
+ {({ height, width }) => (
+ (this.table = table)}
+ key={tableKey}
+ headerHeight={30}
+ height={height}
+ className={`gd-table`}
+ headerClassName={'tableHeaderColumn'}
+ headerStyle={{
+ backgroundColor: 'var(--table-row-odd-background-color)',
+ }}
+ rowCount={this.renderedRows.length}
+ rowGetter={this._rowGetter}
+ rowHeight={32}
+ onRowClick={this._onRowClick}
+ rowClassName={this._rowClassName}
+ sort={this._sort}
+ sortBy={sortBy}
+ sortDirection={sortDirection}
+ width={Math.max(width, minimumWidths.table)}
+ >
+ Object name}
+ dataKey="name"
+ width={Math.max(width * 0.35, minimumWidths.objectName)}
+ className={'tableColumn'}
+ headerRenderer={renderSortableHeader}
/>
-
-
-
-
- {({ height, width }) => (
- (this.table = table)}
- key={tableKey}
- headerHeight={30}
- height={height}
- className={`gd-table`}
- headerClassName={'tableHeaderColumn'}
- rowCount={this.renderedRows.length}
- rowGetter={this._rowGetter}
- rowHeight={32}
- onRowClick={this._onRowClick}
- rowClassName={this._rowClassName}
- sort={this._sort}
- sortBy={sortBy}
- sortDirection={sortDirection}
- width={Math.max(width, minimumWidths.table)}
- >
- Object name}
- dataKey="name"
- width={Math.max(width * 0.35, minimumWidths.objectName)}
- className={'tableColumn'}
- />
-
- X}
- dataKey="x"
- width={Math.max(
- width * 0.1,
- minimumWidths.numberProperty
- )}
- className={'tableColumn'}
- />
- Y}
- dataKey="y"
- width={Math.max(
- width * 0.1,
- minimumWidths.numberProperty
- )}
- className={'tableColumn'}
- />
- Angle}
- dataKey="angle"
- width={Math.max(
- width * 0.1,
- minimumWidths.numberProperty
- )}
- className={'tableColumn'}
- />
- Layer}
- dataKey="layer"
- width={Math.max(width * 0.2, minimumWidths.layerName)}
- className={'tableColumn'}
+ X}
+ dataKey="x"
+ width={Math.max(width * 0.1, minimumWidths.numberProperty)}
+ className={'tableColumn tableColumnSecondary'}
+ headerRenderer={renderSortableHeader}
+ />
+ Y}
+ dataKey="y"
+ width={Math.max(width * 0.1, minimumWidths.numberProperty)}
+ className={'tableColumn tableColumnSecondary'}
+ headerRenderer={renderSortableHeader}
+ />
+ Z}
+ dataKey="zOrder"
+ width={Math.max(width * 0.1, minimumWidths.numberProperty)}
+ className={'tableColumn tableColumnSecondary'}
+ headerRenderer={renderSortableHeader}
+ />
+
- Z Order}
- dataKey="zOrder"
- width={Math.max(
- width * 0.1,
- minimumWidths.numberProperty
- )}
- className={'tableColumn'}
+ }
+ dataKey="angle"
+ width={Math.max(width * 0.1, minimumWidths.numberProperty)}
+ className={'tableColumn tableColumnSecondary'}
+ headerRenderer={renderSortableHeader}
+ />
+
-
- )}
-
-
-
- )}
-
+ }
+ dataKey="layer"
+ width={Math.max(width * 0.2, minimumWidths.layerName)}
+ className={'tableColumn tableColumnSecondary'}
+ headerRenderer={renderSortableHeader}
+ />
+
+
+ )}
+
+
+