mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Make Console Execute Button consistent with ToolBar
This commit is contained in:
parent
6a667790be
commit
ae7bac506f
@ -78,9 +78,6 @@ ConsoleWidget::ConsoleWidget(MainWindow *main, QAction *action) :
|
|||||||
// Adjust console lineedit
|
// Adjust console lineedit
|
||||||
ui->inputLineEdit->setTextMargins(10, 0, 0, 0);
|
ui->inputLineEdit->setTextMargins(10, 0, 0, 0);
|
||||||
|
|
||||||
ui->execButton->setIcon(QIcon(new SvgIconEngine(QString(":/img/icons/arrow_right.svg"),
|
|
||||||
palette().buttonText().color())));
|
|
||||||
|
|
||||||
setupFont();
|
setupFont();
|
||||||
|
|
||||||
// Adjust text margins of consoleOutputTextEdit
|
// Adjust text margins of consoleOutputTextEdit
|
||||||
|
@ -109,36 +109,20 @@
|
|||||||
<string>Execute command</string>
|
<string>Execute command</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">
|
<string notr="true"/>
|
||||||
QToolButton { /* all types of tool button */
|
|
||||||
margin-bottom: 1px;
|
|
||||||
margin-top: 1px;
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 5px;
|
|
||||||
padding-top: 1px;
|
|
||||||
padding-bottom: 1px;
|
|
||||||
background-color: palette(light);
|
|
||||||
border-radius: 6px;
|
|
||||||
border-top: 2px solid palette(light);
|
|
||||||
border-bottom: 2px solid palette(light);
|
|
||||||
border-left: 2px solid palette(light);
|
|
||||||
border-right: 2px solid palette(light);
|
|
||||||
}
|
|
||||||
|
|
||||||
QToolButton:pressed {
|
|
||||||
background-color: palette(dark);
|
|
||||||
border-top: 2px solid palette(dark);
|
|
||||||
border-bottom: 2px solid palette(dark);
|
|
||||||
border-left: 2px solid palette(dark);
|
|
||||||
border-right: 2px solid palette(dark);
|
|
||||||
}</string>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>...</string>
|
<string>...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="../resources.qrc">
|
<iconset resource="../resources.qrc">
|
||||||
<normaloff>:/img/icons/play.svg</normaloff>:/img/icons/play.svg</iconset>
|
<normaloff>:/img/icons/arrow_right_light.svg</normaloff>:/img/icons/arrow_right_light.svg</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="iconSize">
|
||||||
|
<size>
|
||||||
|
<width>24</width>
|
||||||
|
<height>16</height>
|
||||||
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user