fix: layout issue (progress bar not horizontally centralized) in qt6.4.5
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
/*
|
||||
* @Author: Uyanide pywang0608@foxmail.com
|
||||
* @Date: 2025-08-07 00:32:25
|
||||
* @LastEditTime: 2025-08-07 21:14:09
|
||||
* @LastEditTime: 2026-01-15 05:23:55
|
||||
* @Description: LoadingIndicator implementation.
|
||||
*/
|
||||
#include "loading_indicator.h"
|
||||
|
||||
LoadingIndicator::LoadingIndicator(QWidget* parent) : QWidget(parent),
|
||||
ui(new Ui::LoadingIndicator) {
|
||||
LoadingIndicator::LoadingIndicator(int barMinimumWidth, QWidget* parent)
|
||||
: QWidget(parent),
|
||||
ui(new Ui::LoadingIndicator) {
|
||||
ui->setupUi(this);
|
||||
ui->progressBar->setMinimumWidth(barMinimumWidth);
|
||||
}
|
||||
|
||||
LoadingIndicator::~LoadingIndicator() {
|
||||
|
||||
Reference in New Issue
Block a user