mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-03 23:41:56 +00:00
Make pin icon bigger in PopupWindowPin
This commit is contained in:
parent
05ed1b8950
commit
d9af752e9d
@ -33,10 +33,6 @@ PopupWindowPin::PopupWindowPin(const std::string& text, ClickBehavior clickBehav
|
|||||||
{
|
{
|
||||||
SkinTheme* theme = SkinTheme::instance();
|
SkinTheme* theme = SkinTheme::instance();
|
||||||
|
|
||||||
// Configure the micro check-box look without borders, only the "pin" icon is shown.
|
|
||||||
setup_look(&m_pin, WithoutBordersLook);
|
|
||||||
m_pin.setChildSpacing(0);
|
|
||||||
m_pin.setBorder(gfx::Border(0));
|
|
||||||
m_pin.Click.connect(&PopupWindowPin::onPinClick, this);
|
m_pin.Click.connect(&PopupWindowPin::onPinClick, this);
|
||||||
m_pin.setIconInterface(
|
m_pin.setIconInterface(
|
||||||
new ButtonIconImpl(theme->parts.unpinned(),
|
new ButtonIconImpl(theme->parts.unpinned(),
|
||||||
|
Loading…
Reference in New Issue
Block a user