Skip to content

Commit 52b7fbc

Browse files
authored
Merge pull request #360 from zhao-yubiao/master
fix-platte-and-new-icons
2 parents 611f9ac + 41e4430 commit 52b7fbc

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/plugins/ukui-notebook/editPage.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ void Edit_page::slotsSetup()
259259
// 调色板菜单
260260
connect(m_noteHeadMenu->ui->pushButtonPalette, &QPushButton::clicked, this, [=](){
261261
QPointF position = this->pos();
262-
color_page->move(position.x()+100,position.y()-36);
262+
color_page->move(position.x()+30,position.y()+34);
263263
color_page->show();
264264
});
265265
// 调色按钮
@@ -288,12 +288,12 @@ void Edit_page::slotsSetup()
288288

289289
connect(ui->fontSizeBtn, &QPushButton::clicked, this, [=](){
290290
QPointF position = this->pos();
291-
set_size_page->move(position.x()+227,position.y()+272);
291+
set_size_page->move(position.x()+227,position.y()+273);
292292
set_size_page->show();
293293
});
294294
connect(ui->fontColorBtn, &QPushButton::clicked, this, [=](){
295295
QPointF position = this->pos();
296-
set_color_fort_page->move(position.x()+260,position.y()+272);
296+
set_color_fort_page->move(position.x()+260,position.y()+273);
297297
set_color_fort_page->show();
298298
});
299299

src/plugins/ukui-notebook/noteHeadMenu.ui

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<x>0</x>
88
<y>0</y>
99
<width>300</width>
10-
<height>40</height>
10+
<height>42</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -33,14 +33,14 @@
3333
<widget class="QPushButton" name="pushButtonNew">
3434
<property name="minimumSize">
3535
<size>
36-
<width>24</width>
37-
<height>24</height>
36+
<width>20</width>
37+
<height>20</height>
3838
</size>
3939
</property>
4040
<property name="maximumSize">
4141
<size>
42-
<width>24</width>
43-
<height>24</height>
42+
<width>20</width>
43+
<height>20</height>
4444
</size>
4545
</property>
4646
<property name="text">

0 commit comments

Comments
 (0)