mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Add thumbnail strip widget to manage sizing and layout of thumb previews
This commit is contained in:
@@ -10,3 +10,11 @@ ResourcePreview::~ResourcePreview()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void ResourcePreview::SetSize(QSize s)
|
||||
{
|
||||
setFixedWidth(s.width());
|
||||
setFixedHeight(s.height());
|
||||
setMinimumSize(s);
|
||||
setMaximumSize(s);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user