mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
minor gui tweaks
This commit is contained in:
+1
-1
@@ -343,7 +343,7 @@ void DoAbout(){
|
||||
pixmap.setDevicePixelRatio( label->devicePixelRatio() );
|
||||
// target 0.5 of the image size
|
||||
label->setPixmap( pixmap.scaledToHeight( pixmap.height() * label->devicePixelRatio() * pixmap.logicalDpiX() / ( 96 * 2 ), Qt::TransformationMode::SmoothTransformation ) );
|
||||
hbox->addWidget( label );
|
||||
hbox->addWidget( label, 0, Qt::AlignmentFlag::AlignCenter );
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
@@ -531,7 +531,7 @@ class QWidget* LayersBrowser_constructWindow( QWidget* toplevel ){
|
||||
g_lbro.m_iconSelectAdd = new_local_icon( "plus.png" );
|
||||
g_lbro.m_iconSelectDeselect = new_local_icon( "minus.png" );
|
||||
g_lbro.m_iconSelectMove = new_local_icon( "arrow_right.png" );
|
||||
g_lbro.m_iconVisibleOn = new_local_icon( "eye_opened.png" );
|
||||
g_lbro.m_iconVisibleOn = new_local_icon( "eye_open.png" );
|
||||
g_lbro.m_iconVisibleOff = new_local_icon( "eye_closed.png" );
|
||||
|
||||
{
|
||||
|
||||
@@ -821,7 +821,7 @@ void SurfaceInspector::BuildDialog(){
|
||||
QObject::connect( b, &QAbstractButton::clicked, [](){ SurfaceInspector_ProjectTexture( eProjectCam, true ); } );
|
||||
}
|
||||
{
|
||||
grid->addWidget( new QLabel( "Patch" ), 3, 0 );
|
||||
grid->addWidget( new QLabel( "Patch:" ), 3, 0 );
|
||||
}
|
||||
{
|
||||
auto *b = new QPushButton( "Natural" );
|
||||
|
||||
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Reference in New Issue
Block a user