取消
显示结果 
搜索替代 
您的意思是: 

Scaling icons on buttons with different windows sizes

已解决!
转到解答

Hello

 

I placed arrow icons on buttons:

Tekhee_0-1605211577126.png

I want my application to adapt to windows size. The arrow take strange places on the buttons after scaling. Is there a way to fix this? I would like it like the top button but it behaves as the bottom one.

 

0 项奖励
1 条消息(共 5 条)
1,675 次查看

I would say no.

 

I find that trying to do anything with scaling objects tends to not work correctly.  And if you do something like repeatedly resize a window, you'll find the results getting continually worse.

0 项奖励
2 条消息(共 5 条)
1,634 次查看

Are you talking about keep the icon at the center? or resize the icon?

 

George Zou
0 项奖励
3 条消息(共 5 条)
1,620 次查看

Imho both should be possible. But keeping it in the center would be OK.

It dissappoints me for a graphics tool in 2020. Does anyone know these things will become easier in NXG?

0 项奖励
4 条消息(共 5 条)
1,615 次查看
解答
已被主题作者 Tekhee 接受

Imho both should be possible.

It is.

 

You have to use a vector image for the icon, otherwise, it doesn't looks good after resize.

Then you achieve both when you customize the button:

image.png

 

 

George Zou
5 条消息(共 5 条)
1,608 次查看