News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

CodeBlocks icons become huge on Ubuntu 22.04 (ARM64).

Started by alexchen, December 06, 2022, 08:27:43 AM

Previous topic - Next topic

alexchen

I installed CodeBlocks on Ubuntu 22.04 ARM64 desktop (with VMware VM on M1 MacMini).
The icons are so big that they take up almost 1/3 of its window.  The icons look fine on Ubuntu 20.04 ARM desktop package.
Is this a build problem in Ubuntu repo?

alexchen

This is the normal icon size on Ubuntu 20.04 (ARM64).

Miguel Gimenez

Please state your scale factor and the wxWidgets version used.

alexchen

I have no idea.  I did not build the package myself.  I simply ran 'sudo apt install codeblocks' to get the package from Ubuntu software repository.
Not sure if the package is built by Ubuntu or provided by CodeBlocks.

Miguel Gimenez

The scale factor in GTK can be 100 % or 200 %, you select it in the screen properties (200  is HiDPI).

The wxWidgets version can be checked in the About dialog, it can be wxWidgets 3.0 or wxWidgets 3.2.

I would bet you are using 200 % and wxWidgets 3.2.

alexchen


alexchen

#6
The about screen say build 2021-11-08. wx3.0.5 gcc 11.2.0 - 64-bit.
Where do I get the 'screen' property?  The only thing I can find is from 'Settings' -> 'View' -> 'Toolbar icon size'.  Which is normal (64x64).  The other alternatives are 'Large', 'Larger', and 'Largest'
Changing their value does not make difference.

Miguel Gimenez

The screen scale factor is an Ubuntu thing. At least on Gnome 3, right click on the Ubuntu desktop, there is a slider allowing 100 % or 200 % scale factor.

alexchen

That does not help. The 'Settings' -> 'Appearance' -> 'Desktop Icons' show 'norma' size.  Changing it to 'small' does not help.
'Settings' -> 'Displays' shows 100% scale, not 200%.
I think I have wasted enough of your time.  I will take this to Ubuntu forum instead since they built the package.
Thanks for the help.